Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_IDEAS_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.007688/0.007687, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.001219/0.00122, allocations: 189.3 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.418/1.418, 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.8237/0.8237, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.23 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1515, allocations: 80.21 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002662/0.1542, allocations: 1.498 MB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003223/0.1546, allocations: 131.6 kB / 0.6608 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.1546, allocations: 4 kB / 0.6608 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1547, allocations: 3.938 kB / 0.6608 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.1548, allocations: 3.938 kB / 0.6608 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1551, allocations: 71.77 kB / 0.6608 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1553, allocations: 59.84 kB / 0.6609 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1554, allocations: 23.97 kB / 0.6609 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.1554, allocations: 19.92 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.1555, allocations: 27.91 kB / 0.661 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1555, allocations: 8 kB / 0.661 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.1556, allocations: 4 kB / 0.661 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.1556, allocations: 11.94 kB / 0.661 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1556, allocations: 27.91 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1558, allocations: 54.61 kB / 0.6611 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1558, allocations: 0 / 0.6611 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1558, allocations: 0 / 0.6611 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1558, allocations: 0 / 0.6611 GB, free: 8.859 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005198/0.1563, allocations: 372.2 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1564, allocations: 19.95 kB / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.1564, allocations: 34.75 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1565, allocations: 8.844 kB / 0.6615 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1566, allocations: 164.4 kB / 0.6616 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.1567, allocations: 30.27 kB / 0.6617 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1567, allocations: 4.375 kB / 0.6617 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.1569, allocations: 81.95 kB / 0.6617 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1569, allocations: 4 kB / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1569, allocations: 0 / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1569, allocations: 0 / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.1571, allocations: 51.89 kB / 0.6618 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.1577, allocations: 320.6 kB / 0.6621 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1578, allocations: 50.56 kB / 0.6622 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.1579, allocations: 28.92 kB / 0.6622 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1579, allocations: 3.938 kB / 0.6622 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.158, allocations: 38.5 kB / 0.6622 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.158, allocations: 0 / 0.6622 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003637/0.1583, allocations: 101.5 kB / 0.6623 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1584, allocations: 51.41 kB / 0.6624 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.1585, allocations: 109.8 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1585, allocations: 25.7 kB / 0.6625 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.1586, allocations: 92.12 kB / 0.6626 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1586, allocations: 7.891 kB / 0.6626 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.1586, allocations: 17.72 kB / 0.6626 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1587, allocations: 326.8 kB / 0.6629 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.1588, allocations: 19.98 kB / 0.6629 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.1589, allocations: 45.62 kB / 0.663 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1591, allocations: 53.69 kB / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1591, allocations: 3.938 kB / 0.663 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002294/0.1594, allocations: 89.59 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1594, allocations: 4 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1594, allocations: 3.984 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1594, allocations: 0 / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1595, allocations: 12 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1595, allocations: 0 / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/0.1596, allocations: 15.92 kB / 0.6632 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.1596, allocations: 0 / 0.6632 GB, free: 6.461 MB / 0.4981 GB 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 0.0001048/0.1597, allocations: 121.7 kB / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.1597, allocations: 4 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.1598, allocations: 11.89 kB / 0.6633 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1598, allocations: 0 / 0.6633 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1598, allocations: 0 / 0.6633 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1598, allocations: 0 / 0.6633 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.16, allocations: 181.6 kB / 0.6635 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.16, allocations: 7.938 kB / 0.6635 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.1601, allocations: 8 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1601, allocations: 0 / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1601, allocations: 3.984 kB / 0.6635 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1601, allocations: 0 / 0.6635 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1601, allocations: 4 kB / 0.6635 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1604, allocations: 183.5 kB / 0.6637 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1604, allocations: 85.14 kB / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1604, allocations: 0 / 0.6637 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.1606, allocations: 7.984 kB / 0.6637 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1606, allocations: 7.984 kB / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1606, allocations: 0 / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.1607, allocations: 87.28 kB / 0.6638 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1607, allocations: 0 / 0.6638 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002307/0.1609, allocations: 12 kB / 0.6639 GB, free: 5.645 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.0006164/0.1615, allocations: 0.7123 MB / 0.6645 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1618, allocations: 55.89 kB / 0.6646 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1618, allocations: 4.062 kB / 0.6646 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.1619, allocations: 27.97 kB / 0.6646 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.1622, allocations: 8.234 kB / 0.6646 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1638, allocations: 1.332 MB / 0.6659 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1641, allocations: 0.6846 MB / 0.6666 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.739e-05/0.1641, allocations: 4 kB / 0.6666 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1642, allocations: 19.44 kB / 0.6666 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1642, allocations: 0 / 0.6666 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1839, allocations: 1.79 MB / 0.6684 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.701, allocations: 9.969 kB / 0.6684 GB, free: 0.9727 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)