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.00723/0.00723, allocations: 102 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.001478/0.001478, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8284/0.8284, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.83 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 80.2 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002918/0.1786, allocations: 1.255 MB / 0.6604 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000625/0.1793, allocations: 301.9 kB / 0.6607 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.1793, allocations: 0 / 0.6607 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.1793, allocations: 3.938 kB / 0.6607 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.1794, allocations: 3.984 kB / 0.6607 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1798, allocations: 51.75 kB / 0.6608 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.1799, allocations: 19.81 kB / 0.6608 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.1799, allocations: 7.984 kB / 0.6608 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.18, allocations: 8 kB / 0.6608 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.1801, allocations: 7.984 kB / 0.6608 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1801, allocations: 0 / 0.6608 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1802, allocations: 55.95 kB / 0.6608 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.1803, allocations: 11.86 kB / 0.6609 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1803, allocations: 4 kB / 0.6609 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1805, allocations: 54.7 kB / 0.6609 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1805, allocations: 4 kB / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1805, allocations: 0 / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.1805, allocations: 0 / 0.6609 GB, free: 9 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.0004277/0.1809, allocations: 336.4 kB / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.181, allocations: 8.031 kB / 0.6612 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.739e-05/0.1811, allocations: 30.75 kB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.1813, allocations: 20.91 kB / 0.6613 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1814, allocations: 164.4 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1815, allocations: 384 / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.1815, allocations: 4.375 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1816, allocations: 50.19 kB / 0.6615 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1816, allocations: 3.938 kB / 0.6615 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1816, allocations: 0 / 0.6615 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1816, allocations: 0 / 0.6615 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.1817, allocations: 15.98 kB / 0.6615 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1819, allocations: 157.6 kB / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.1839, allocations: 270.5 kB / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.184, allocations: 16.86 kB / 0.662 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.184, allocations: 4 kB / 0.662 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1841, allocations: 42.48 kB / 0.662 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1841, allocations: 0 / 0.662 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001884/0.1843, allocations: 65.61 kB / 0.6621 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1843, allocations: 55.41 kB / 0.6621 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.1844, allocations: 89.86 kB / 0.6622 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1844, allocations: 25.7 kB / 0.6622 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.1844, allocations: 84.27 kB / 0.6623 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1845, allocations: 15.84 kB / 0.6623 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.1845, allocations: 25.61 kB / 0.6623 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1846, allocations: 310.8 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.1847, allocations: 4 kB / 0.6626 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.1847, allocations: 8 kB / 0.6626 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.1848, allocations: 32.78 kB / 0.6627 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1848, allocations: 0 / 0.6627 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.416e-05/0.1849, allocations: 57.7 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1849, allocations: 11.92 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1849, allocations: 0 / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1849, allocations: 0 / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.185, allocations: 8 kB / 0.6628 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.185, allocations: 0 / 0.6628 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.185, allocations: 11.88 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.185, allocations: 0 / 0.6628 GB, free: 6.875 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 7.636e-05/0.1851, allocations: 113.8 kB / 0.6629 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.1852, allocations: 3.938 kB / 0.6629 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.1852, allocations: 11.5 kB / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1852, allocations: 0 / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1852, allocations: 3.984 kB / 0.6629 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1852, allocations: 4 kB / 0.6629 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.1854, allocations: 149.7 kB / 0.663 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1854, allocations: 3.984 kB / 0.663 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.1854, allocations: 4 kB / 0.663 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1854, allocations: 3.938 kB / 0.663 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1854, allocations: 4 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1854, allocations: 0 / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1855, allocations: 4 kB / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.1856, allocations: 77.12 kB / 0.6631 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.1856, allocations: 81.02 kB / 0.6632 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1857, allocations: 11.92 kB / 0.6632 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.1857, allocations: 3.938 kB / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.1858, allocations: 0 / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1858, allocations: 8 kB / 0.6632 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.1858, allocations: 83.22 kB / 0.6633 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1858, allocations: 0 / 0.6633 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002018/0.186, allocations: 4 kB / 0.6633 GB, free: 6.207 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.0004191/0.1865, allocations: 0.6124 MB / 0.6639 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1866, allocations: 28.36 kB / 0.6639 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1866, allocations: 4.094 kB / 0.6639 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.1866, allocations: 11.98 kB / 0.664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.187, allocations: 12 kB / 0.664 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.1875, allocations: 156.4 kB / 0.6641 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1878, allocations: 0.6768 MB / 0.6648 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.57e-05/0.1878, allocations: 11.98 kB / 0.6648 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.1878, allocations: 7.438 kB / 0.6648 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of SimCode: time 2.094e-06/0.1879, allocations: 0 / 0.6648 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.2076, allocations: 1.324 MB / 0.6661 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.694, allocations: 11.44 kB / 0.6661 GB, free: 3.371 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)