Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_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.008241/0.008241, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001711/0.001711, allocations: 186.7 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8458/0.8458, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 0.5809 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4498, allocations: 80.21 MB / 0.6592 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002333/0.4522, allocations: 1.251 MB / 0.6604 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005102/0.4528, allocations: 303.1 kB / 0.6607 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.4528, allocations: 3.938 kB / 0.6607 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.4528, allocations: 0 / 0.6607 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.4529, allocations: 5.922 kB / 0.6607 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.4532, allocations: 52.5 kB / 0.6608 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.4532, allocations: 18.3 kB / 0.6608 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.4533, allocations: 5.984 kB / 0.6608 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.4533, allocations: 4.734 kB / 0.6608 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.4534, allocations: 17.27 kB / 0.6608 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.4534, allocations: 0 / 0.6608 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.4535, allocations: 55.52 kB / 0.6608 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.4536, allocations: 0.5625 kB / 0.6608 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.4536, allocations: 12.86 kB / 0.6609 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.4537, allocations: 48.22 kB / 0.6609 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4537, allocations: 0 / 0.6609 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4537, allocations: 0 / 0.6609 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4538, allocations: 0 / 0.6609 GB, free: 8.891 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.000333/0.4541, allocations: 336.7 kB / 0.6612 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4541, allocations: 13.62 kB / 0.6612 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.359e-05/0.4542, allocations: 32.12 kB / 0.6613 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.4544, allocations: 17.83 kB / 0.6613 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.535e-05/0.4545, allocations: 169.8 kB / 0.6615 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.4545, allocations: 2.203 kB / 0.6615 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.4545, allocations: 1.469 kB / 0.6615 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.4546, allocations: 41.33 kB / 0.6615 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4547, allocations: 3.938 kB / 0.6615 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.4547, allocations: 5.562 kB / 0.6615 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4547, allocations: 3.984 kB / 0.6615 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.4547, allocations: 15.69 kB / 0.6615 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.4549, allocations: 161.9 kB / 0.6617 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.4568, allocations: 269.3 kB / 0.6619 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.4568, allocations: 23.05 kB / 0.662 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.4569, allocations: 0.9375 kB / 0.662 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.4569, allocations: 39.91 kB / 0.662 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.4569, allocations: 0 / 0.662 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001692/0.4571, allocations: 66.66 kB / 0.6621 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.4571, allocations: 55.41 kB / 0.6621 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.342e-05/0.4571, allocations: 100.6 kB / 0.6622 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.4572, allocations: 25.7 kB / 0.6622 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.4572, allocations: 81.64 kB / 0.6623 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4572, allocations: 10.73 kB / 0.6623 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.4572, allocations: 17.25 kB / 0.6623 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.4573, allocations: 313.4 kB / 0.6626 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.4573, allocations: 12.56 kB / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.4573, allocations: 11.47 kB / 0.6627 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.4574, allocations: 23.52 kB / 0.6627 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4574, allocations: 1.594 kB / 0.6627 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.199e-05/0.4575, allocations: 54.83 kB / 0.6627 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4575, allocations: 12.23 kB / 0.6627 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4575, allocations: 0 / 0.6627 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4575, allocations: 8.781 kB / 0.6628 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.4576, allocations: 6.469 kB / 0.6628 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4576, allocations: 1.094 kB / 0.6628 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.4576, allocations: 5.828 kB / 0.6628 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.4577, allocations: 1.188 kB / 0.6628 GB, free: 7.168 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.708e-05/0.4577, allocations: 111.8 kB / 0.6629 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.4577, allocations: 5.25 kB / 0.6629 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.4578, allocations: 8.016 kB / 0.6629 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4578, allocations: 2.141 kB / 0.6629 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4578, allocations: 0 / 0.6629 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4578, allocations: 1.344 kB / 0.6629 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.312e-05/0.4579, allocations: 153.6 kB / 0.663 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4579, allocations: 4 kB / 0.663 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.4579, allocations: 6.828 kB / 0.663 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4579, allocations: 5.281 kB / 0.6631 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.4579, allocations: 3.938 kB / 0.6631 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4579, allocations: 1.25 kB / 0.6631 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4579, allocations: 0.8906 kB / 0.6631 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.86e-05/0.458, allocations: 81.33 kB / 0.6631 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.4581, allocations: 81.53 kB / 0.6632 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.4581, allocations: 11.94 kB / 0.6632 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.4582, allocations: 2.75 kB / 0.6632 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.4582, allocations: 3.672 kB / 0.6632 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4582, allocations: 0 / 0.6632 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.824e-05/0.4582, allocations: 77.78 kB / 0.6633 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4582, allocations: 0 / 0.6633 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001864/0.4584, allocations: 5.625 kB / 0.6633 GB, free: 6.57 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.0002548/0.4587, allocations: 0.6227 MB / 0.6639 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4588, allocations: 25.78 kB / 0.6639 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4588, allocations: 0 / 0.6639 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.4588, allocations: 14.09 kB / 0.664 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4591, allocations: 15.73 kB / 0.664 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.4595, allocations: 162.2 kB / 0.6641 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.4597, allocations: 0.6746 MB / 0.6648 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.4597, allocations: 6.188 kB / 0.6648 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.4598, allocations: 12.5 kB / 0.6648 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4598, allocations: 1.156 kB / 0.6648 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.478, allocations: 1.321 MB / 0.6661 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.958, allocations: 3.375 kB / 0.6661 GB, free: 4.469 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)