Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.006542/0.006542, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001292/0.001292, allocations: 195.6 kB / 16.79 MB, free: 6.242 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.652/0.652, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.11 kB / 493 MB, free: 6.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002524/0.1359, allocations: 1.714 MB / 0.5575 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.1366, allocations: 402.8 kB / 0.5579 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.1366, allocations: 4 kB / 0.5579 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.02e-05/0.1367, allocations: 7.922 kB / 0.5579 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.1368, allocations: 19.8 kB / 0.5579 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1371, allocations: 110.7 kB / 0.558 GB, free: 8.465 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1373, allocations: 95.64 kB / 0.5581 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1374, allocations: 44.23 kB / 0.5582 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.591e-05/0.1375, allocations: 39.84 kB / 0.5582 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.1375, allocations: 39.78 kB / 0.5582 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1376, allocations: 8 kB / 0.5583 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1377, allocations: 55.95 kB / 0.5583 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.1377, allocations: 19.91 kB / 0.5583 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.1378, allocations: 43.73 kB / 0.5584 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.138, allocations: 127.6 kB / 0.5585 GB, free: 8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.138, allocations: 0 / 0.5585 GB, free: 8 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.138, allocations: 0 / 0.5585 GB, free: 8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.138, allocations: 4 kB / 0.5585 GB, free: 7.996 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005232/0.1385, allocations: 427.1 kB / 0.5589 GB, free: 7.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1386, allocations: 12.03 kB / 0.5589 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.1386, allocations: 34.75 kB / 0.5589 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.1388, allocations: 28.81 kB / 0.559 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.139, allocations: 192.2 kB / 0.5592 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.1391, allocations: 38.27 kB / 0.5592 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1391, allocations: 4.375 kB / 0.5592 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1393, allocations: 105.9 kB / 0.5593 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1394, allocations: 3.938 kB / 0.5593 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1394, allocations: 8 kB / 0.5593 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1394, allocations: 0 / 0.5593 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.1396, allocations: 83.92 kB / 0.5594 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.1403, allocations: 388.5 kB / 0.5598 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.1408, allocations: 134.6 kB / 0.5599 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1409, allocations: 36.84 kB / 0.5599 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1409, allocations: 0 / 0.5599 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1409, allocations: 42.48 kB / 0.56 GB, free: 6.309 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1409, allocations: 0 / 0.56 GB, free: 6.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.000387/0.1413, allocations: 133.5 kB / 0.5601 GB, free: 6.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.1414, allocations: 55.34 kB / 0.5601 GB, free: 6.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.861e-05/0.1415, allocations: 137 kB / 0.5603 GB, free: 5.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1415, allocations: 25.7 kB / 0.5603 GB, free: 5.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.1415, allocations: 100 kB / 0.5604 GB, free: 5.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1416, allocations: 27.64 kB / 0.5604 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.1416, allocations: 17.72 kB / 0.5604 GB, free: 5.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.1417, allocations: 330.8 kB / 0.5608 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1418, allocations: 27.98 kB / 0.5608 GB, free: 5.422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.1419, allocations: 45.78 kB / 0.5608 GB, free: 5.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.1421, allocations: 77.67 kB / 0.5609 GB, free: 5.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1421, allocations: 4 kB / 0.5609 GB, free: 5.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002429/0.1424, allocations: 117.5 kB / 0.561 GB, free: 5.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1424, allocations: 4 kB / 0.561 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.1424, allocations: 0 / 0.561 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1424, allocations: 3.938 kB / 0.561 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1425, allocations: 19.98 kB / 0.561 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1426, allocations: 0 / 0.561 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.1426, allocations: 11.92 kB / 0.5611 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1427, allocations: 8.031 kB / 0.5611 GB, free: 5.117 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.072e-05/0.1427, allocations: 113.8 kB / 0.5612 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.1428, allocations: 7.906 kB / 0.5612 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.1428, allocations: 12.72 kB / 0.5612 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1428, allocations: 7.938 kB / 0.5612 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1428, allocations: 0 / 0.5612 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1428, allocations: 3.938 kB / 0.5612 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.143, allocations: 197.6 kB / 0.5614 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.143, allocations: 0 / 0.5614 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1431, allocations: 23.98 kB / 0.5614 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1431, allocations: 0 / 0.5614 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1432, allocations: 0 / 0.5614 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1432, allocations: 3.938 kB / 0.5614 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1432, allocations: 3.938 kB / 0.5614 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.1435, allocations: 207.9 kB / 0.5616 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.1435, allocations: 89.02 kB / 0.5617 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1435, allocations: 0 / 0.5617 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.1437, allocations: 19.83 kB / 0.5617 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1437, allocations: 4 kB / 0.5617 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1437, allocations: 15.92 kB / 0.5617 GB, free: 4.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.634e-05/0.1438, allocations: 103.3 kB / 0.5618 GB, free: 4.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1438, allocations: 0 / 0.5618 GB, free: 4.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.144, allocations: 16 kB / 0.5619 GB, free: 4.211 MB / 430.1 MB 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.0005047/0.1445, allocations: 0.7436 MB / 0.5626 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1448, allocations: 75.88 kB / 0.5627 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1448, allocations: 64 / 0.5627 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.1449, allocations: 43.97 kB / 0.5627 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1452, allocations: 23.92 kB / 0.5627 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1468, allocations: 1.563 MB / 0.5642 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.1471, allocations: 0.6965 MB / 0.5649 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.1472, allocations: 12.66 kB / 0.5649 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.1472, allocations: 23.44 kB / 0.565 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1472, allocations: 4 kB / 0.565 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2546/0.4019, allocations: 2.463 MB / 0.5674 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003534/0.4023, allocations: 218.1 kB / 0.5676 GB, free: 14.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.578, allocations: 0 / 0.5676 GB, free: 14.33 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)