Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.004885/0.004885, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.001482/0.001482, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9054/0.9054, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4459, allocations: 80.91 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001819/0.4477, allocations: 1.255 MB / 0.6654 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004644/0.4482, allocations: 300.9 kB / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.4482, allocations: 0 / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.444e-05/0.4483, allocations: 1.312 kB / 0.6657 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.4483, allocations: 3.938 kB / 0.6657 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.4486, allocations: 56.92 kB / 0.6657 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.4486, allocations: 20.44 kB / 0.6658 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.4487, allocations: 6.812 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.4487, allocations: 4.094 kB / 0.6658 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.4488, allocations: 10.98 kB / 0.6658 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.437e-06/0.4488, allocations: 0 / 0.6658 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.4489, allocations: 53.08 kB / 0.6658 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.4489, allocations: 9.141 kB / 0.6658 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.449, allocations: 4.438 kB / 0.6658 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.4491, allocations: 53.58 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4491, allocations: 5.312 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4492, allocations: 0 / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.4492, allocations: 4 kB / 0.6659 GB, free: 5.895 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.0004172/0.4496, allocations: 335.9 kB / 0.6662 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4497, allocations: 8.406 kB / 0.6662 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.584e-05/0.4497, allocations: 32.16 kB / 0.6663 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.4499, allocations: 23.84 kB / 0.6663 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.45, allocations: 161.8 kB / 0.6664 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.45, allocations: 384 / 0.6664 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.45, allocations: 6.969 kB / 0.6664 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.4502, allocations: 41.22 kB / 0.6665 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4502, allocations: 3.938 kB / 0.6665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4502, allocations: 4 kB / 0.6665 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4502, allocations: 1.281 kB / 0.6665 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.835e-05/0.4503, allocations: 16.83 kB / 0.6665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.4504, allocations: 158.5 kB / 0.6667 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.4523, allocations: 272.6 kB / 0.6669 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.4523, allocations: 17.02 kB / 0.6669 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.4523, allocations: 1.219 kB / 0.6669 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.4524, allocations: 35.72 kB / 0.667 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4524, allocations: 0 / 0.667 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001922/0.4526, allocations: 72.42 kB / 0.667 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.4526, allocations: 56.31 kB / 0.6671 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.352e-05/0.4527, allocations: 96.31 kB / 0.6672 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.4527, allocations: 25.7 kB / 0.6672 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.421e-05/0.4527, allocations: 80.14 kB / 0.6673 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.4527, allocations: 17.28 kB / 0.6673 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.4528, allocations: 17.69 kB / 0.6673 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.4528, allocations: 316.2 kB / 0.6676 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.4529, allocations: 7.641 kB / 0.6676 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.4529, allocations: 8.594 kB / 0.6676 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.4529, allocations: 25.36 kB / 0.6677 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4529, allocations: 0 / 0.6677 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.465e-05/0.453, allocations: 56 kB / 0.6677 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.453, allocations: 9.156 kB / 0.6677 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.453, allocations: 1.312 kB / 0.6677 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4531, allocations: 4 kB / 0.6677 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.4531, allocations: 9.234 kB / 0.6677 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4531, allocations: 1.25 kB / 0.6677 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.4532, allocations: 7.906 kB / 0.6677 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.4532, allocations: 1.094 kB / 0.6677 GB, free: 4.082 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.688e-05/0.4532, allocations: 107.2 kB / 0.6678 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.4532, allocations: 9.281 kB / 0.6679 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.4533, allocations: 8.938 kB / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4533, allocations: 0 / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.4533, allocations: 5.344 kB / 0.6679 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4533, allocations: 0 / 0.6679 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.607e-05/0.4534, allocations: 159 kB / 0.668 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4534, allocations: 0 / 0.668 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.4534, allocations: 5.375 kB / 0.668 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4534, allocations: 3.938 kB / 0.668 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.4534, allocations: 5.359 kB / 0.668 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4534, allocations: 0 / 0.668 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4534, allocations: 3.938 kB / 0.668 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.095e-05/0.4535, allocations: 83.06 kB / 0.6681 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.4536, allocations: 78.42 kB / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.4536, allocations: 7.875 kB / 0.6682 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.4536, allocations: 1.594 kB / 0.6682 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.4537, allocations: 5.516 kB / 0.6682 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4537, allocations: 5.5 kB / 0.6682 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.844e-05/0.4537, allocations: 76.47 kB / 0.6683 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4537, allocations: 0 / 0.6683 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001891/0.4539, allocations: 5.688 kB / 0.6683 GB, free: 3.465 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 (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 Backend phase and start with SimCode phase: time 0.0002186/0.4541, allocations: 0.6237 MB / 0.6689 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.146e-05/0.4542, allocations: 22.53 kB / 0.6689 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4542, allocations: 4 kB / 0.6689 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.4543, allocations: 16.14 kB / 0.6689 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.4545, allocations: 17.58 kB / 0.669 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.4548, allocations: 149.8 kB / 0.6691 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.222e-05/0.4549, allocations: 0.6778 MB / 0.6698 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.455, allocations: 5.25 kB / 0.6698 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.455, allocations: 8.906 kB / 0.6698 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.455, allocations: 0 / 0.6698 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.4731, allocations: 1.313 MB / 0.6711 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.859, allocations: 3 kB / 0.6711 GB, free: 1.195 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)