Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001649/0.001649, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 205.4 kB / 16.79 MB, free: 6.84 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.277/1.277, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6595/0.6595, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 65.23 kB / 493 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1399, allocations: 76.2 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002731/0.1426, allocations: 1.547 MB / 0.5574 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.1429, allocations: 119.7 kB / 0.5575 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.143, allocations: 0 / 0.5575 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.143, allocations: 3.938 kB / 0.5575 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.1431, allocations: 3.938 kB / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1434, allocations: 70.75 kB / 0.5575 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.1435, allocations: 51.91 kB / 0.5576 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.1435, allocations: 23.98 kB / 0.5576 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.1436, allocations: 27.91 kB / 0.5576 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.1437, allocations: 19.86 kB / 0.5577 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1437, allocations: 4 kB / 0.5577 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.1437, allocations: 4 kB / 0.5577 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.1437, allocations: 11.98 kB / 0.5577 GB, free: 8.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.1438, allocations: 19.86 kB / 0.5577 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.747e-05/0.1439, allocations: 56.12 kB / 0.5578 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1439, allocations: 0 / 0.5578 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1439, allocations: 0 / 0.5578 GB, free: 8.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1439, allocations: 7.938 kB / 0.5578 GB, free: 8.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004837/0.1444, allocations: 363.4 kB / 0.5581 GB, free: 8.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1444, allocations: 12.03 kB / 0.5581 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.1445, allocations: 42.67 kB / 0.5582 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.1445, allocations: 12.78 kB / 0.5582 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1447, allocations: 172.2 kB / 0.5583 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.1447, allocations: 26.27 kB / 0.5584 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1447, allocations: 4.375 kB / 0.5584 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.145, allocations: 89.94 kB / 0.5585 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-06/0.145, allocations: 0 / 0.5585 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.145, allocations: 0 / 0.5585 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.145, allocations: 0 / 0.5585 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.1452, allocations: 51.89 kB / 0.5585 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.1458, allocations: 312.8 kB / 0.5588 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1459, allocations: 50.55 kB / 0.5589 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.146, allocations: 32.86 kB / 0.5589 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.146, allocations: 4 kB / 0.5589 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1461, allocations: 34.56 kB / 0.5589 GB, free: 7.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1461, allocations: 0 / 0.5589 GB, free: 7.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003524/0.1464, allocations: 97.55 kB / 0.559 GB, free: 7.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1465, allocations: 51.41 kB / 0.5591 GB, free: 7.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.1466, allocations: 113.8 kB / 0.5592 GB, free: 7.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1466, allocations: 29.7 kB / 0.5592 GB, free: 7.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.1467, allocations: 92.06 kB / 0.5593 GB, free: 6.992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.1467, allocations: 11.81 kB / 0.5593 GB, free: 6.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1467, allocations: 17.72 kB / 0.5593 GB, free: 6.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.1468, allocations: 318.8 kB / 0.5596 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/0.1469, allocations: 23.92 kB / 0.5596 GB, free: 6.613 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.586e-05/0.147, allocations: 37.7 kB / 0.5597 GB, free: 6.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1472, allocations: 57.67 kB / 0.5597 GB, free: 6.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1472, allocations: 0 / 0.5597 GB, free: 6.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002258/0.1474, allocations: 89.5 kB / 0.5598 GB, free: 6.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1475, allocations: 4 kB / 0.5598 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1475, allocations: 4.031 kB / 0.5598 GB, free: 6.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1475, allocations: 4 kB / 0.5598 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.1476, allocations: 11.98 kB / 0.5598 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1476, allocations: 0 / 0.5598 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.1477, allocations: 7.984 kB / 0.5598 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1477, allocations: 4 kB / 0.5599 GB, free: 6.379 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 (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 prepare postOptimizeDAE: time 7.831e-05/0.1478, allocations: 117.7 kB / 0.56 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1478, allocations: 4 kB / 0.56 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.1478, allocations: 11.91 kB / 0.56 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1478, allocations: 4.172 kB / 0.56 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1478, allocations: 4 kB / 0.56 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1479, allocations: 7.969 kB / 0.56 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.148, allocations: 185.6 kB / 0.5602 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.148, allocations: 3.938 kB / 0.5602 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.1481, allocations: 11.98 kB / 0.5602 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1481, allocations: 4 kB / 0.5602 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1481, allocations: 0 / 0.5602 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1481, allocations: 0 / 0.5602 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1481, allocations: 0 / 0.5602 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.1484, allocations: 179.4 kB / 0.5604 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.1484, allocations: 81.11 kB / 0.5604 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1485, allocations: 0 / 0.5604 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.1486, allocations: 11.98 kB / 0.5605 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.1486, allocations: 0 / 0.5605 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.1487, allocations: 11.98 kB / 0.5605 GB, free: 5.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.1487, allocations: 91.52 kB / 0.5606 GB, free: 5.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1487, allocations: 0 / 0.5606 GB, free: 5.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.149, allocations: 11.91 kB / 0.5606 GB, free: 5.555 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 (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.0005782/0.1495, allocations: 0.7124 MB / 0.5613 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1497, allocations: 51.89 kB / 0.5613 GB, free: 4.766 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1498, allocations: 0 / 0.5613 GB, free: 4.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.1498, allocations: 23.98 kB / 0.5613 GB, free: 4.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1501, allocations: 7.984 kB / 0.5613 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1514, allocations: 1.33 MB / 0.5626 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.1516, allocations: 0.6809 MB / 0.5633 GB, free: 2.609 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.1517, allocations: 8 kB / 0.5633 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1517, allocations: 15.42 kB / 0.5633 GB, free: 2.586 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1517, allocations: 0 / 0.5633 GB, free: 2.586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4817/0.6335, allocations: 1.565 MB / 0.5649 GB, free: 1.148 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.6338, allocations: 199.3 kB / 0.565 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.73, allocations: 0 / 0.565 GB, free: 0.8984 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)