Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.pW_TDewPoi_comparison,fileNamePrefix="IDEAS_dev_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_dev_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.007472/0.007471, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.001767/0.001767, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7629/0.7629, allocations: 135.1 MB / 425.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 66.83 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1579, allocations: 80.93 MB / 0.6642 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002547/0.1605, allocations: 1.28 MB / 0.6654 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1617, allocations: 0.7711 MB / 0.6662 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.1618, allocations: 0 / 0.6662 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.1618, allocations: 7.875 kB / 0.6662 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.1619, allocations: 7.938 kB / 0.6662 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.1624, allocations: 171.2 kB / 0.6663 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.1625, allocations: 15.92 kB / 0.6664 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.1626, allocations: 11.98 kB / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.1626, allocations: 7.938 kB / 0.6664 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/0.1627, allocations: 11.92 kB / 0.6664 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1627, allocations: 7.938 kB / 0.6664 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.1631, allocations: 283.5 kB / 0.6667 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1632, allocations: 12 kB / 0.6667 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.1632, allocations: 7.938 kB / 0.6667 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.1635, allocations: 175.3 kB / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1635, allocations: 0 / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1635, allocations: 0 / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1635, allocations: 0 / 0.6668 GB, free: 3.562 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.0004512/0.164, allocations: 363.4 kB / 0.6672 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1641, allocations: 13.11 kB / 0.6672 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1641, allocations: 30.75 kB / 0.6672 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.1643, allocations: 20.91 kB / 0.6673 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1645, allocations: 172.4 kB / 0.6674 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.1645, allocations: 384 / 0.6674 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1645, allocations: 384 / 0.6674 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1646, allocations: 50.25 kB / 0.6675 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1647, allocations: 3.938 kB / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1647, allocations: 0 / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1647, allocations: 0 / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.166e-05/0.1647, allocations: 31.92 kB / 0.6675 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.1649, allocations: 169.5 kB / 0.6677 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.165, allocations: 58.66 kB / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.1651, allocations: 20.86 kB / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1651, allocations: 8.016 kB / 0.6677 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1652, allocations: 38.56 kB / 0.6678 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1652, allocations: 4 kB / 0.6678 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0001941/0.1654, allocations: 77.56 kB / 0.6679 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1654, allocations: 55.41 kB / 0.6679 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.1655, allocations: 89.86 kB / 0.668 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1655, allocations: 25.7 kB / 0.668 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.1655, allocations: 80.14 kB / 0.6681 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.1656, allocations: 19.8 kB / 0.6681 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.1656, allocations: 21.62 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1657, allocations: 319 kB / 0.6684 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.1658, allocations: 20.19 kB / 0.6685 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.1658, allocations: 16 kB / 0.6685 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.1659, allocations: 40.78 kB / 0.6685 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1659, allocations: 0 / 0.6685 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.772e-05/0.166, allocations: 65.62 kB / 0.6686 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.166, allocations: 7.938 kB / 0.6686 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.166, allocations: 0 / 0.6686 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.166, allocations: 4 kB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1662, allocations: 15.98 kB / 0.6686 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1662, allocations: 4 kB / 0.6686 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.1662, allocations: 0 / 0.6686 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1662, allocations: 0 / 0.6686 GB, free: 1.52 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 8.573e-05/0.1663, allocations: 117.8 kB / 0.6687 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.1664, allocations: 3.938 kB / 0.6687 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.1666, allocations: 93.55 kB / 0.6688 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1666, allocations: 4 kB / 0.6688 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1666, allocations: 0 / 0.6688 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1666, allocations: 0 / 0.6688 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1667, allocations: 165.6 kB / 0.669 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1667, allocations: 0 / 0.669 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.414e-05/0.1668, allocations: 15.98 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1668, allocations: 3.938 kB / 0.669 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1669, allocations: 4 kB / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1669, allocations: 0 / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1669, allocations: 4 kB / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.167, allocations: 93.25 kB / 0.6691 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.1671, allocations: 85.09 kB / 0.6692 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1671, allocations: 7.938 kB / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.1672, allocations: 0 / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.1672, allocations: 7.984 kB / 0.6692 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1672, allocations: 4 kB / 0.6692 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.1672, allocations: 83.28 kB / 0.6693 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1673, allocations: 0 / 0.6693 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001927/0.1674, allocations: 8 kB / 0.6693 GB, free: 0.7305 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.0004529/0.1679, allocations: 0.6449 MB / 0.6699 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.168, allocations: 31.98 kB / 0.6699 GB, free: 28 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.168, allocations: 8.094 kB / 0.6699 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.026e-05/0.1681, allocations: 23.98 kB / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1683, allocations: 7.938 kB / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.1688, allocations: 168.1 kB / 0.6701 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.169, allocations: 0.6807 MB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.1691, allocations: 7.984 kB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.1691, allocations: 19.42 kB / 0.6708 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1691, allocations: 0 / 0.6708 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.1865, allocations: 1.434 MB / 0.6722 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.244/7.43, allocations: 4.062 kB / 0.6722 GB, free: 13.75 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)