Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_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.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_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.00669/0.00669, allocations: 101 kB / 15.73 MB, free: 6.473 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.001262/0.001262, allocations: 195 kB / 16.67 MB, free: 6.379 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9542/0.9542, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4714, allocations: 80.9 MB / 0.6641 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002393/0.4738, allocations: 1.498 MB / 0.6656 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.4749, allocations: 0.8044 MB / 0.6664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.475, allocations: 1.594 kB / 0.6664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.475, allocations: 7.922 kB / 0.6664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.4751, allocations: 9.031 kB / 0.6664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.4755, allocations: 138.8 kB / 0.6665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.136e-05/0.4756, allocations: 49.59 kB / 0.6666 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.4757, allocations: 14.41 kB / 0.6666 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.011e-05/0.4758, allocations: 22.95 kB / 0.6666 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.4758, allocations: 27.34 kB / 0.6666 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.4758, allocations: 4.156 kB / 0.6666 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.4761, allocations: 176.3 kB / 0.6668 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.4762, allocations: 9.344 kB / 0.6668 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.4762, allocations: 26.83 kB / 0.6668 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.4764, allocations: 146 kB / 0.667 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4765, allocations: 0 / 0.667 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4765, allocations: 0 / 0.667 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.4765, allocations: 0 / 0.667 GB, free: 5.098 MB / 0.4981 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.0004845/0.477, allocations: 395.9 kB / 0.6674 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.477, allocations: 9.281 kB / 0.6674 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.4771, allocations: 40.12 kB / 0.6674 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.4771, allocations: 7.469 kB / 0.6674 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.262e-05/0.4772, allocations: 178.8 kB / 0.6676 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4772, allocations: 1.781 kB / 0.6676 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.4772, allocations: 3.094 kB / 0.6676 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.4774, allocations: 68.97 kB / 0.6677 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.4775, allocations: 5.312 kB / 0.6677 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.4775, allocations: 4 kB / 0.6677 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4775, allocations: 5.188 kB / 0.6677 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.4777, allocations: 65.98 kB / 0.6677 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.478, allocations: 283.3 kB / 0.668 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.4782, allocations: 64.7 kB / 0.6681 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.4784, allocations: 35.3 kB / 0.6681 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.4785, allocations: 89.03 kB / 0.6682 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.4786, allocations: 36 kB / 0.6682 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4786, allocations: 0 / 0.6682 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004728/0.479, allocations: 138.5 kB / 0.6684 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4791, allocations: 52.81 kB / 0.6684 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4792, allocations: 116.3 kB / 0.6685 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.4792, allocations: 29.7 kB / 0.6685 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.4793, allocations: 94.94 kB / 0.6686 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.4793, allocations: 13.5 kB / 0.6686 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.4793, allocations: 16.47 kB / 0.6687 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.4794, allocations: 320.1 kB / 0.669 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.4795, allocations: 28.38 kB / 0.669 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.4796, allocations: 37.86 kB / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.4799, allocations: 68.36 kB / 0.6691 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4799, allocations: 0 / 0.6691 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002638/0.4801, allocations: 101.9 kB / 0.6692 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4802, allocations: 9 kB / 0.6692 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4802, allocations: 1.531 kB / 0.6692 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4802, allocations: 0 / 0.6692 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.4803, allocations: 14.36 kB / 0.6692 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4803, allocations: 0 / 0.6692 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.4804, allocations: 15.95 kB / 0.6692 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.4804, allocations: 1.062 kB / 0.6692 GB, free: 2.938 MB / 0.4981 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 5.019e-05/0.4805, allocations: 116.6 kB / 0.6693 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4805, allocations: 9.031 kB / 0.6694 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.4808, allocations: 113.1 kB / 0.6695 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4808, allocations: 1.406 kB / 0.6695 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4808, allocations: 0 / 0.6695 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4808, allocations: 1.312 kB / 0.6695 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.481, allocations: 174 kB / 0.6696 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.481, allocations: 0 / 0.6696 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.094e-05/0.481, allocations: 18.95 kB / 0.6696 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4811, allocations: 0 / 0.6696 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4811, allocations: 1.094 kB / 0.6696 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4811, allocations: 0 / 0.6696 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4811, allocations: 1.531 kB / 0.6697 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.4814, allocations: 204.8 kB / 0.6698 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.4814, allocations: 78.47 kB / 0.6699 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.4814, allocations: 12.92 kB / 0.6699 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.4815, allocations: 10.64 kB / 0.6699 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.4816, allocations: 9.391 kB / 0.67 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.4816, allocations: 1.281 kB / 0.67 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.4816, allocations: 92.2 kB / 0.67 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4816, allocations: 1.438 kB / 0.67 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002614/0.4819, allocations: 33.88 kB / 0.6701 GB, free: 2.121 MB / 0.4981 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.0005538/0.4824, allocations: 0.7605 MB / 0.6708 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.4827, allocations: 73.8 kB / 0.6709 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4828, allocations: 1 kB / 0.6709 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.4829, allocations: 37.11 kB / 0.6709 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.4832, allocations: 12.09 kB / 0.6709 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.4846, allocations: 1.42 MB / 0.6723 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.4849, allocations: 0.6849 MB / 0.673 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.244e-05/0.4849, allocations: 5.938 kB / 0.673 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.485, allocations: 19.09 kB / 0.673 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 1.91e-07/0.485, allocations: 0 / 0.673 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.5047, allocations: 2.442 MB / 0.6754 GB, free: 14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.809, allocations: 19.05 kB / 0.6754 GB, free: 13.99 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)