Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.001247/0.001247, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001482/0.001482, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9485/0.9485, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 11.98 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 82.32 MB / 0.5873 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001237/0.1635, allocations: 0.9784 MB / 0.5882 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3859/0.5494, allocations: 111.9 MB / 0.6975 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.5494, allocations: 0 / 0.6975 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.5495, allocations: 1.844 kB / 0.6975 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.5495, allocations: 1.219 kB / 0.6975 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.5498, allocations: 56.45 kB / 0.6976 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.5499, allocations: 17.08 kB / 0.6976 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.55, allocations: 1.906 kB / 0.6976 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.55, allocations: 14.36 kB / 0.6976 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.5501, allocations: 5.406 kB / 0.6976 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.5501, allocations: 1.25 kB / 0.6976 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-05/0.5502, allocations: 19.7 kB / 0.6977 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.5502, allocations: 0.75 kB / 0.6977 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.5502, allocations: 29.27 kB / 0.6977 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.106e-05/0.5503, allocations: 26.16 kB / 0.6977 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5503, allocations: 1.344 kB / 0.6977 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5503, allocations: 0 / 0.6977 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5503, allocations: 0 / 0.6977 GB, free: 11.59 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003351/0.5506, allocations: 324.4 kB / 0.698 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.5507, allocations: 10 kB / 0.698 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.5507, allocations: 31.31 kB / 0.6981 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.5508, allocations: 9.578 kB / 0.6981 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.5509, allocations: 165.9 kB / 0.6982 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.5509, allocations: 33.31 kB / 0.6983 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.551, allocations: 3.266 kB / 0.6983 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.5511, allocations: 38.55 kB / 0.6983 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.5511, allocations: 1.344 kB / 0.6983 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.5511, allocations: 4 kB / 0.6983 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.5511, allocations: 4.641 kB / 0.6983 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.5512, allocations: 14.78 kB / 0.6983 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.5513, allocations: 152.6 kB / 0.6985 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.375e-05/0.5514, allocations: 34.16 kB / 0.6985 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.5516, allocations: 89.8 kB / 0.6986 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.5516, allocations: 36.8 kB / 0.6986 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5516, allocations: 3.938 kB / 0.6986 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000208/0.5518, allocations: 53.91 kB / 0.6987 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.5519, allocations: 61.17 kB / 0.6987 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.552, allocations: 94.42 kB / 0.6988 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.552, allocations: 27.33 kB / 0.6989 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.552, allocations: 80.14 kB / 0.6989 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.552, allocations: 13.86 kB / 0.6989 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.552, allocations: 0 / 0.6989 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.5521, allocations: 317.6 kB / 0.6992 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.5522, allocations: 5.656 kB / 0.6993 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.5522, allocations: 11.12 kB / 0.6993 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.5523, allocations: 12.89 kB / 0.6993 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5523, allocations: 0 / 0.6993 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001283/0.5524, allocations: 48.97 kB / 0.6993 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5525, allocations: 5.406 kB / 0.6993 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.5525, allocations: 1.688 kB / 0.6993 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.5525, allocations: 0 / 0.6993 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.5525, allocations: 5.906 kB / 0.6993 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5526, allocations: 1.922 kB / 0.6993 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.5526, allocations: 6.062 kB / 0.6993 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.5526, allocations: 1.656 kB / 0.6993 GB, free: 9.859 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/0.5527, allocations: 114.2 kB / 0.6995 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.5527, allocations: 2.188 kB / 0.6995 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.5528, allocations: 62.73 kB / 0.6995 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5529, allocations: 1.031 kB / 0.6995 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5529, allocations: 1.312 kB / 0.6995 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5529, allocations: 4.609 kB / 0.6995 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.956e-05/0.553, allocations: 157.7 kB / 0.6997 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.553, allocations: 0 / 0.6997 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.553, allocations: 6.438 kB / 0.6997 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.553, allocations: 1.406 kB / 0.6997 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.553, allocations: 0 / 0.6997 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.553, allocations: 2.266 kB / 0.6997 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.553, allocations: 3.75 kB / 0.6997 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.5532, allocations: 93.61 kB / 0.6998 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.5533, allocations: 84 kB / 0.6999 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5533, allocations: 5.547 kB / 0.6999 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.87e-05/0.5533, allocations: 2.219 kB / 0.6999 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.5533, allocations: 2.625 kB / 0.6999 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.5534, allocations: 1.438 kB / 0.6999 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.5534, allocations: 79.23 kB / 0.6999 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5534, allocations: 0 / 0.6999 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000181/0.5536, allocations: 14.06 kB / 0.7 GB, free: 9.223 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004264/0.554, allocations: 0.6167 MB / 0.7006 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.5542, allocations: 25.3 kB / 0.7006 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5542, allocations: 0 / 0.7006 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.947e-05/0.5542, allocations: 13.75 kB / 0.7006 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.5544, allocations: 9.375 kB / 0.7006 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.5548, allocations: 179.2 kB / 0.7008 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.555, allocations: 0.6782 MB / 0.7014 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.5551, allocations: 6.047 kB / 0.7014 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.5551, allocations: 10.34 kB / 0.7014 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.5551, allocations: 0 / 0.7014 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009909/0.565, allocations: 1.115 MB / 0.7025 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.5652, allocations: 192.6 kB / 0.7027 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.498, allocations: 3.938 kB / 0.7027 GB, free: 7.387 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: