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.008383/0.008383, allocations: 101.5 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.002081/0.002081, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9641/0.9641, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 0.5851 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5051, allocations: 80.91 MB / 0.6641 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002781/0.5079, allocations: 1.493 MB / 0.6656 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.5091, allocations: 0.8122 MB / 0.6664 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.5091, allocations: 1.125 kB / 0.6664 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.5092, allocations: 3.938 kB / 0.6664 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.5093, allocations: 8.969 kB / 0.6664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.5097, allocations: 131.2 kB / 0.6665 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.5098, allocations: 57.44 kB / 0.6666 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.5099, allocations: 13.8 kB / 0.6666 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.51, allocations: 19.58 kB / 0.6666 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.51, allocations: 26.66 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.51, allocations: 5.188 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.5103, allocations: 177.2 kB / 0.6668 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.5103, allocations: 4 kB / 0.6668 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.5104, allocations: 26.14 kB / 0.6668 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.5106, allocations: 153.9 kB / 0.667 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5107, allocations: 5.562 kB / 0.667 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5107, allocations: 0 / 0.667 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.5107, allocations: 0 / 0.667 GB, free: 5.301 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.0005105/0.5112, allocations: 389.6 kB / 0.6674 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5112, allocations: 13.12 kB / 0.6674 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.5113, allocations: 39.86 kB / 0.6674 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.5113, allocations: 7.438 kB / 0.6674 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.557e-05/0.5114, allocations: 171.2 kB / 0.6676 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5114, allocations: 1.531 kB / 0.6676 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.5114, allocations: 3.156 kB / 0.6676 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.5117, allocations: 82.08 kB / 0.6677 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5117, allocations: 3.938 kB / 0.6677 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.5117, allocations: 4 kB / 0.6677 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5117, allocations: 1.375 kB / 0.6677 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.512, allocations: 65.45 kB / 0.6677 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.5124, allocations: 283.6 kB / 0.668 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.5126, allocations: 56.98 kB / 0.6681 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.5127, allocations: 43.92 kB / 0.6681 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.5129, allocations: 92.53 kB / 0.6682 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.5129, allocations: 31.84 kB / 0.6682 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.5129, allocations: 4 kB / 0.6682 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000551/0.5135, allocations: 127.2 kB / 0.6683 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5135, allocations: 52.53 kB / 0.6684 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.5136, allocations: 131.6 kB / 0.6685 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.5136, allocations: 25.7 kB / 0.6685 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.5137, allocations: 90.55 kB / 0.6686 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.5137, allocations: 13 kB / 0.6686 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.5137, allocations: 21.77 kB / 0.6687 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.5138, allocations: 315.7 kB / 0.669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.5139, allocations: 29.22 kB / 0.669 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.5141, allocations: 37.52 kB / 0.669 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.5144, allocations: 68.34 kB / 0.6691 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5144, allocations: 0 / 0.6691 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000317/0.5147, allocations: 98.69 kB / 0.6692 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5147, allocations: 8.938 kB / 0.6692 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5147, allocations: 0 / 0.6692 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5147, allocations: 5.562 kB / 0.6692 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5149, allocations: 17.02 kB / 0.6692 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5149, allocations: 5.516 kB / 0.6692 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.515, allocations: 10.61 kB / 0.6692 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.515, allocations: 1.125 kB / 0.6692 GB, free: 3.137 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.989e-05/0.515, allocations: 117.9 kB / 0.6693 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.5151, allocations: 9.469 kB / 0.6694 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.5154, allocations: 102 kB / 0.6695 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5154, allocations: 0 / 0.6695 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5155, allocations: 1.219 kB / 0.6695 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.5155, allocations: 0 / 0.6695 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.5156, allocations: 174 kB / 0.6696 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5156, allocations: 5.219 kB / 0.6696 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.5157, allocations: 22.08 kB / 0.6696 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.5157, allocations: 5.25 kB / 0.6697 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.5157, allocations: 0 / 0.6697 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5157, allocations: 3.984 kB / 0.6697 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5157, allocations: 1.438 kB / 0.6697 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.5161, allocations: 196 kB / 0.6698 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.5161, allocations: 79.91 kB / 0.6699 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.5161, allocations: 0 / 0.6699 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.5162, allocations: 19.31 kB / 0.6699 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.5163, allocations: 5.25 kB / 0.6699 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.5163, allocations: 1 kB / 0.6699 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.5163, allocations: 93.14 kB / 0.67 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5163, allocations: 4 kB / 0.67 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002697/0.5166, allocations: 35.22 kB / 0.6701 GB, free: 2.328 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.0005963/0.5172, allocations: 0.7668 MB / 0.6708 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.5176, allocations: 67.7 kB / 0.6709 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5176, allocations: 0 / 0.6709 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.5177, allocations: 40.42 kB / 0.6709 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.5181, allocations: 13.22 kB / 0.6709 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.5197, allocations: 1.423 MB / 0.6723 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.5199, allocations: 0.6811 MB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.52, allocations: 10.64 kB / 0.673 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.52, allocations: 18.33 kB / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.52, allocations: 0 / 0.673 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.5415, allocations: 2.465 MB / 0.6754 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.977, allocations: 13 kB / 0.6754 GB, free: 14.18 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)