Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.009611/0.009611, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.0017/0.001701, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9446/0.9446, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 60.05 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4513, allocations: 80.92 MB / 0.6642 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002001/0.4533, allocations: 1.278 MB / 0.6654 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.4545, allocations: 0.8549 MB / 0.6662 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.4545, allocations: 0 / 0.6662 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.4545, allocations: 1.156 kB / 0.6662 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.4546, allocations: 7.922 kB / 0.6663 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.4552, allocations: 200.4 kB / 0.6664 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/0.4552, allocations: 20.25 kB / 0.6665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.4553, allocations: 1.562 kB / 0.6665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.4553, allocations: 4.781 kB / 0.6665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.4554, allocations: 7.266 kB / 0.6665 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4554, allocations: 1.062 kB / 0.6665 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.4557, allocations: 239.5 kB / 0.6667 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.4558, allocations: 3.938 kB / 0.6667 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.4558, allocations: 4.75 kB / 0.6667 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.456, allocations: 159.7 kB / 0.6669 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4561, allocations: 3.938 kB / 0.6669 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4561, allocations: 0 / 0.6669 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4561, allocations: 1.312 kB / 0.6669 GB, free: 5.262 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003674/0.4564, allocations: 346.7 kB / 0.6672 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4565, allocations: 9.312 kB / 0.6672 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.648e-05/0.4565, allocations: 42.67 kB / 0.6673 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.4567, allocations: 5.906 kB / 0.6673 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.793e-05/0.4568, allocations: 165.5 kB / 0.6674 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4568, allocations: 5.844 kB / 0.6674 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.4568, allocations: 5.469 kB / 0.6674 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.4569, allocations: 40.97 kB / 0.6675 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4569, allocations: 0 / 0.6675 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4569, allocations: 0 / 0.6675 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.457, allocations: 1.594 kB / 0.6675 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.247e-05/0.457, allocations: 16.23 kB / 0.6675 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.4571, allocations: 166.1 kB / 0.6676 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.458, allocations: 142.4 kB / 0.6678 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.4581, allocations: 17.27 kB / 0.6678 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.888e-05/0.4582, allocations: 85.53 kB / 0.6679 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.4582, allocations: 39.84 kB / 0.6679 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.4582, allocations: 0 / 0.6679 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.4584, allocations: 70.42 kB / 0.668 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.4584, allocations: 51.41 kB / 0.668 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.694e-05/0.4584, allocations: 96.25 kB / 0.6681 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/0.4584, allocations: 25.7 kB / 0.6681 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.438e-05/0.4585, allocations: 84.14 kB / 0.6682 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.4585, allocations: 10.56 kB / 0.6682 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.4585, allocations: 16.56 kB / 0.6683 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.4586, allocations: 316 kB / 0.6686 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.4586, allocations: 8.828 kB / 0.6686 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.4586, allocations: 9.188 kB / 0.6686 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.4587, allocations: 31.34 kB / 0.6686 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4587, allocations: 0 / 0.6686 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.65e-05/0.4588, allocations: 65.31 kB / 0.6687 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4588, allocations: 5.406 kB / 0.6687 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4588, allocations: 0 / 0.6687 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.4588, allocations: 1.281 kB / 0.6687 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.4589, allocations: 9.094 kB / 0.6687 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4589, allocations: 1.438 kB / 0.6687 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.4589, allocations: 0 / 0.6687 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.4589, allocations: 1.656 kB / 0.6687 GB, free: 3.383 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 (4): * Single equations (assignments): 4 * 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 4.932e-05/0.459, allocations: 115.2 kB / 0.6688 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.459, allocations: 5.438 kB / 0.6688 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.4592, allocations: 83.12 kB / 0.6689 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4592, allocations: 1.25 kB / 0.6689 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4592, allocations: 0 / 0.6689 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.4592, allocations: 0 / 0.6689 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.762e-05/0.4593, allocations: 163.5 kB / 0.669 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4593, allocations: 1.062 kB / 0.669 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.4594, allocations: 7.531 kB / 0.669 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4594, allocations: 0 / 0.669 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.4594, allocations: 9.25 kB / 0.669 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4594, allocations: 0 / 0.669 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4594, allocations: 0 / 0.669 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.825e-05/0.4595, allocations: 93.75 kB / 0.6691 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.4595, allocations: 86.5 kB / 0.6692 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.4596, allocations: 1.438 kB / 0.6692 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-05/0.4596, allocations: 9.25 kB / 0.6692 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.4596, allocations: 5.328 kB / 0.6692 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.4596, allocations: 6.188 kB / 0.6692 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.835e-05/0.4597, allocations: 76.66 kB / 0.6693 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4597, allocations: 0 / 0.6693 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000243/0.4599, allocations: 44 kB / 0.6694 GB, free: 2.684 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 (5): * Single equations (assignments): 5 * 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.0005148/0.4604, allocations: 0.6917 MB / 0.67 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.4606, allocations: 32.86 kB / 0.6701 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4606, allocations: 0 / 0.6701 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.4606, allocations: 22.64 kB / 0.6701 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4608, allocations: 6.609 kB / 0.6701 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.4612, allocations: 165.2 kB / 0.6703 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.4613, allocations: 0.6812 MB / 0.6709 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.4614, allocations: 8.391 kB / 0.6709 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.4614, allocations: 14.84 kB / 0.6709 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4614, allocations: 4 kB / 0.6709 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.4786, allocations: 1.978 MB / 0.6729 GB, free: 44 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.947, allocations: 6.156 kB / 0.6729 GB, free: 40 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)