Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005162/0.005162, allocations: 96.75 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 194.6 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 290.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004156/0.004156, allocations: 100.8 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1943, allocations: 86.96 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003107/0.1975, allocations: 1.498 MB / 0.7674 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5366/0.7342, allocations: 132.1 MB / 0.8963 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.7343, allocations: 4 kB / 0.8963 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.083e-05/0.7344, allocations: 7.938 kB / 0.8963 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.7345, allocations: 7.922 kB / 0.8963 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.7351, allocations: 76.33 kB / 0.8964 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.7352, allocations: 51.84 kB / 0.8965 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.7353, allocations: 15.97 kB / 0.8965 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.7354, allocations: 23.92 kB / 0.8965 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.7355, allocations: 27.86 kB / 0.8965 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.7355, allocations: 4 kB / 0.8965 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.7356, allocations: 19.98 kB / 0.8966 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.7357, allocations: 4 kB / 0.8966 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.7357, allocations: 27.86 kB / 0.8966 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.7359, allocations: 61.42 kB / 0.8966 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7359, allocations: 3.938 kB / 0.8966 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7359, allocations: 0 / 0.8966 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.7359, allocations: 0 / 0.8966 GB, free: 13.37 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008784/0.7368, allocations: 375.2 kB / 0.897 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.7369, allocations: 12.03 kB / 0.897 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.7369, allocations: 34.75 kB / 0.897 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.737, allocations: 8.891 kB / 0.8971 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.7372, allocations: 168.3 kB / 0.8972 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.7373, allocations: 4.375 kB / 0.8972 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.7373, allocations: 4.375 kB / 0.8972 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.7376, allocations: 83.7 kB / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.7376, allocations: 5.719 kB / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.7376, allocations: 0 / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7376, allocations: 4 kB / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.738, allocations: 67.91 kB / 0.8974 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.7385, allocations: 288.8 kB / 0.8977 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.7386, allocations: 50.48 kB / 0.8977 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.7389, allocations: 48.91 kB / 0.8977 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.7391, allocations: 93.09 kB / 0.8978 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.7391, allocations: 30.56 kB / 0.8979 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.7391, allocations: 0 / 0.8979 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005158/0.7397, allocations: 125.6 kB / 0.898 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.7397, allocations: 59.39 kB / 0.898 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.7399, allocations: 121.8 kB / 0.8982 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.7399, allocations: 25.7 kB / 0.8982 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.74, allocations: 84.14 kB / 0.8983 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.74, allocations: 15.84 kB / 0.8983 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.7401, allocations: 17.7 kB / 0.8983 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7402, allocations: 318.8 kB / 0.8986 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.7404, allocations: 35.95 kB / 0.8986 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.7405, allocations: 32.91 kB / 0.8987 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.7407, allocations: 64.78 kB / 0.8987 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7408, allocations: 3.938 kB / 0.8987 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003152/0.7411, allocations: 97.62 kB / 0.8988 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7411, allocations: 8 kB / 0.8988 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.7411, allocations: 0 / 0.8988 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.7411, allocations: 3.938 kB / 0.8988 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.7413, allocations: 23.97 kB / 0.8989 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.7413, allocations: 0 / 0.8989 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/0.7414, allocations: 19.94 kB / 0.8989 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.7414, allocations: 3.938 kB / 0.8989 GB, free: 10.83 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/0.7415, allocations: 110.4 kB / 0.899 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.7415, allocations: 4.328 kB / 0.899 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/0.742, allocations: 109.5 kB / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.742, allocations: 0 / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.742, allocations: 4 kB / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.742, allocations: 0 / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.7423, allocations: 177.6 kB / 0.8993 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7423, allocations: 0 / 0.8993 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.359e-05/0.7424, allocations: 16.73 kB / 0.8993 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7424, allocations: 0 / 0.8993 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.7424, allocations: 11.98 kB / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7424, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7424, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.7429, allocations: 195.4 kB / 0.8995 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.7429, allocations: 85.06 kB / 0.8996 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.7429, allocations: 0.5625 kB / 0.8996 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.7431, allocations: 15.97 kB / 0.8996 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.7431, allocations: 8 kB / 0.8996 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.7431, allocations: 0 / 0.8996 GB, free: 10 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.759e-05/0.7432, allocations: 95.27 kB / 0.8997 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7432, allocations: 0 / 0.8997 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003173/0.7435, allocations: 15.94 kB / 0.8997 GB, free: 9.895 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009029/0.7444, allocations: 0.7397 MB / 0.9004 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.7448, allocations: 75.86 kB / 0.9005 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7448, allocations: 0 / 0.9005 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.745, allocations: 39.91 kB / 0.9005 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.7453, allocations: 13.62 kB / 0.9005 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.7474, allocations: 1.426 MB / 0.9019 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.7479, allocations: 0.6807 MB / 0.9026 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.091e-05/0.7479, allocations: 11.89 kB / 0.9026 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.748, allocations: 19.62 kB / 0.9026 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of SimCode: time 6.82e-07/0.748, allocations: 0 / 0.9026 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.7729, allocations: 2.086 MB / 0.9047 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/9.17, allocations: 16.69 kB / 0.9047 GB, free: 4.809 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)