Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001304/0.001304, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001423/0.001423, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9417/0.9417, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.12 kB / 0.505 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1472, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002857/0.1501, allocations: 1.697 MB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3509/0.5011, allocations: 149.4 MB / 0.7315 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.5012, allocations: 5.344 kB / 0.7315 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.5013, allocations: 8.344 kB / 0.7315 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.5016, allocations: 35.36 kB / 0.7315 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.502, allocations: 140.6 kB / 0.7317 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.5021, allocations: 123.8 kB / 0.7318 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.5022, allocations: 27.08 kB / 0.7318 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.5038, allocations: 157.6 kB / 0.732 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.5039, allocations: 47.03 kB / 0.732 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.5039, allocations: 7.375 kB / 0.732 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.5043, allocations: 183.4 kB / 0.7322 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.5043, allocations: 22.25 kB / 0.7322 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.5044, allocations: 44.17 kB / 0.7323 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.5047, allocations: 186.7 kB / 0.7324 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5047, allocations: 0.7031 kB / 0.7324 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5047, allocations: 1.25 kB / 0.7324 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.5047, allocations: 0 / 0.7324 GB, free: 14.91 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005409/0.5053, allocations: 452.3 kB / 0.7329 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.5053, allocations: 9.656 kB / 0.7329 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.5053, allocations: 39.34 kB / 0.7329 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.5062, allocations: 86.14 kB / 0.733 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.5064, allocations: 211.1 kB / 0.7332 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.5064, allocations: 4.312 kB / 0.7332 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.5064, allocations: 8.312 kB / 0.7332 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.5068, allocations: 141.6 kB / 0.7333 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5069, allocations: 0.5156 kB / 0.7333 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.5069, allocations: 5.438 kB / 0.7334 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5069, allocations: 6.344 kB / 0.7334 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.5074, allocations: 134.5 kB / 0.7335 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.5081, allocations: 411.2 kB / 0.7339 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.5087, allocations: 258.4 kB / 0.7341 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.509, allocations: 75.58 kB / 0.7342 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.509, allocations: 0.75 kB / 0.7342 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.509, allocations: 36 kB / 0.7342 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.509, allocations: 0 / 0.7342 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006912/0.5097, allocations: 215 kB / 0.7344 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.5098, allocations: 53.62 kB / 0.7345 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.5099, allocations: 153.8 kB / 0.7346 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.5099, allocations: 25.7 kB / 0.7347 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.5099, allocations: 103.9 kB / 0.7348 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.51, allocations: 30.03 kB / 0.7348 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.51, allocations: 27.17 kB / 0.7348 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.5101, allocations: 327.1 kB / 0.7351 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.5103, allocations: 57.27 kB / 0.7352 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5105, allocations: 75.42 kB / 0.7353 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.5109, allocations: 121.6 kB / 0.7354 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5109, allocations: 0 / 0.7354 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004454/0.5114, allocations: 157.3 kB / 0.7355 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.5114, allocations: 4.938 kB / 0.7355 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5114, allocations: 6.234 kB / 0.7355 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.5114, allocations: 1.125 kB / 0.7355 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.5116, allocations: 30.11 kB / 0.7356 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5116, allocations: 1.062 kB / 0.7356 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.5118, allocations: 20.38 kB / 0.7356 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.5118, allocations: 2.328 kB / 0.7356 GB, free: 12.65 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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 8.227e-05/0.5119, allocations: 128.4 kB / 0.7357 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.5119, allocations: 9.156 kB / 0.7357 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.512, allocations: 12.7 kB / 0.7357 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.512, allocations: 1 kB / 0.7357 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.512, allocations: 1.844 kB / 0.7357 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.512, allocations: 0 / 0.7357 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.5127, allocations: 475.9 kB / 0.7362 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5127, allocations: 3.938 kB / 0.7362 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.5129, allocations: 29.39 kB / 0.7362 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5129, allocations: 0 / 0.7362 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.5129, allocations: 1.844 kB / 0.7362 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5129, allocations: 13.06 kB / 0.7362 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5129, allocations: 0 / 0.7362 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.5134, allocations: 263.5 kB / 0.7365 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.5134, allocations: 83.61 kB / 0.7366 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.5134, allocations: 4.391 kB / 0.7366 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.5136, allocations: 24.69 kB / 0.7366 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.5137, allocations: 5.578 kB / 0.7366 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.5137, allocations: 4.391 kB / 0.7366 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.098e-05/0.5137, allocations: 114.6 kB / 0.7367 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5138, allocations: 0 / 0.7367 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002419/0.514, allocations: 28.16 kB / 0.7367 GB, free: 11.76 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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.0006953/0.5147, allocations: 0.8022 MB / 0.7375 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.5151, allocations: 136.2 kB / 0.7376 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5151, allocations: 0 / 0.7376 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.5154, allocations: 73.55 kB / 0.7377 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.5157, allocations: 29.22 kB / 0.7377 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.5179, allocations: 1.742 MB / 0.7394 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.5181, allocations: 0.7081 MB / 0.7401 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.5182, allocations: 22.39 kB / 0.7402 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.5183, allocations: 31.47 kB / 0.7402 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of SimCode: time 1.8e-07/0.5183, allocations: 0 / 0.7402 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.595/2.113, allocations: 3.127 MB / 0.7432 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003197/2.114, allocations: 206.6 kB / 0.7434 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/4.192, allocations: 4 kB / 0.7434 GB, free: 7.855 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)