Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.007403/0.007403, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001298/0.001298, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7971/0.7971, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 59.91 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4569, allocations: 80.21 MB / 0.6592 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002478/0.4594, allocations: 1.281 MB / 0.6604 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.4607, allocations: 0.7743 MB / 0.6612 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.4607, allocations: 0 / 0.6612 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.4608, allocations: 0.7969 kB / 0.6612 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.4608, allocations: 5.828 kB / 0.6612 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.4614, allocations: 161.1 kB / 0.6614 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.4615, allocations: 28.73 kB / 0.6614 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.4616, allocations: 3.375 kB / 0.6614 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.4616, allocations: 14.2 kB / 0.6614 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.4617, allocations: 18.64 kB / 0.6614 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.4617, allocations: 1.875 kB / 0.6614 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.4622, allocations: 284.1 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.4622, allocations: 1.75 kB / 0.6617 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.4623, allocations: 13.86 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.4626, allocations: 172.4 kB / 0.6619 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4626, allocations: 0 / 0.6619 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4626, allocations: 1.438 kB / 0.6619 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.4626, allocations: 0 / 0.6619 GB, free: 8.113 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000374/0.463, allocations: 365.4 kB / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4631, allocations: 10.09 kB / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.4631, allocations: 37.48 kB / 0.6623 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.4634, allocations: 18.88 kB / 0.6623 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.179e-05/0.4635, allocations: 164.9 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4635, allocations: 2.625 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.4635, allocations: 2.969 kB / 0.6624 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4636, allocations: 58.34 kB / 0.6625 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4636, allocations: 3.938 kB / 0.6625 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4637, allocations: 0 / 0.6625 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4637, allocations: 1.312 kB / 0.6625 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.4637, allocations: 26.12 kB / 0.6625 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.4639, allocations: 162.9 kB / 0.6627 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.464, allocations: 61.58 kB / 0.6627 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.4641, allocations: 30.41 kB / 0.6628 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.4641, allocations: 0.6562 kB / 0.6628 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.4642, allocations: 36.69 kB / 0.6628 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4642, allocations: 0 / 0.6628 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002052/0.4644, allocations: 78.8 kB / 0.6629 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.4644, allocations: 52.69 kB / 0.6629 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.484e-05/0.4645, allocations: 92.59 kB / 0.663 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.4645, allocations: 31.05 kB / 0.6631 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.635e-05/0.4645, allocations: 88.2 kB / 0.6631 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.4645, allocations: 19.73 kB / 0.6632 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.4646, allocations: 20.19 kB / 0.6632 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.4646, allocations: 312.1 kB / 0.6635 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.775e-05/0.4647, allocations: 11.61 kB / 0.6635 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.4647, allocations: 16.78 kB / 0.6635 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/0.4648, allocations: 34.33 kB / 0.6635 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4648, allocations: 0 / 0.6635 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.109e-05/0.4649, allocations: 70.58 kB / 0.6636 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4649, allocations: 14.45 kB / 0.6636 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4649, allocations: 0 / 0.6636 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4649, allocations: 1.375 kB / 0.6636 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.4651, allocations: 14.53 kB / 0.6636 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4651, allocations: 0 / 0.6636 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.4651, allocations: 1.219 kB / 0.6636 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4651, allocations: 6.078 kB / 0.6636 GB, free: 6.352 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 (6): * Single equations (assignments): 6 * 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.104e-05/0.4652, allocations: 113 kB / 0.6637 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.4652, allocations: 10.25 kB / 0.6638 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4654, allocations: 91.8 kB / 0.6638 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4654, allocations: 1.656 kB / 0.6638 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4654, allocations: 1.469 kB / 0.6638 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4655, allocations: 0.6562 kB / 0.6638 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.4656, allocations: 162 kB / 0.664 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4656, allocations: 0 / 0.664 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.4657, allocations: 24.28 kB / 0.664 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4657, allocations: 3.938 kB / 0.664 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4657, allocations: 2.078 kB / 0.664 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4657, allocations: 0 / 0.664 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4657, allocations: 1.219 kB / 0.664 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.4659, allocations: 92.58 kB / 0.6641 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.4659, allocations: 86.56 kB / 0.6642 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.4659, allocations: 3.938 kB / 0.6642 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.466, allocations: 10.86 kB / 0.6642 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.466, allocations: 4.094 kB / 0.6642 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.4661, allocations: 1.156 kB / 0.6642 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.044e-05/0.4661, allocations: 81.48 kB / 0.6643 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4661, allocations: 0 / 0.6643 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001885/0.4663, allocations: 8.312 kB / 0.6643 GB, free: 5.68 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 (7): * Single equations (assignments): 7 * 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.0003222/0.4666, allocations: 0.6462 MB / 0.6649 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.4668, allocations: 43.56 kB / 0.665 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4668, allocations: 0 / 0.665 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.4668, allocations: 20.52 kB / 0.665 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4671, allocations: 10.95 kB / 0.665 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.4675, allocations: 164 kB / 0.6652 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.4677, allocations: 0.6782 MB / 0.6658 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.4677, allocations: 4.453 kB / 0.6658 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.4678, allocations: 10.8 kB / 0.6658 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4678, allocations: 5.062 kB / 0.6658 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.4857, allocations: 1.44 MB / 0.6673 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/8, allocations: 11.94 kB / 0.6673 GB, free: 3.422 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)