Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001049/0.001049, allocations: 92.95 kB / 16.02 MB, free: 80 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.001355/0.001355, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.209/1.209, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6199/0.6199, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 8 kB / 496 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 77.53 MB / 0.5601 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002024/0.1316, allocations: 1.804 MB / 0.5618 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1332, allocations: 1.037 MB / 0.5628 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1333, allocations: 4 kB / 0.5628 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.1333, allocations: 19.78 kB / 0.5629 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.1336, allocations: 75.41 kB / 0.5629 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.134, allocations: 143.8 kB / 0.5631 GB, free: 5.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1342, allocations: 282.8 kB / 0.5633 GB, free: 5.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1344, allocations: 60.69 kB / 0.5634 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1345, allocations: 91.52 kB / 0.5635 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1347, allocations: 127.4 kB / 0.5636 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.1347, allocations: 12 kB / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.1351, allocations: 283.6 kB / 0.5639 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.1352, allocations: 39.83 kB / 0.5639 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.1353, allocations: 129 kB / 0.564 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.1356, allocations: 315.1 kB / 0.5643 GB, free: 4.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1356, allocations: 0 / 0.5643 GB, free: 4.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1356, allocations: 0 / 0.5643 GB, free: 4.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1356, allocations: 0 / 0.5643 GB, free: 4.492 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000938/0.1366, allocations: 0.6117 MB / 0.5649 GB, free: 3.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1366, allocations: 8.031 kB / 0.5649 GB, free: 3.824 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.1367, allocations: 46.73 kB / 0.565 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.1369, allocations: 40.64 kB / 0.565 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1371, allocations: 279.4 kB / 0.5653 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1372, allocations: 8.656 kB / 0.5653 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.1372, allocations: 20.38 kB / 0.5653 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.1377, allocations: 248.7 kB / 0.5656 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1377, allocations: 8 kB / 0.5656 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1378, allocations: 4 kB / 0.5656 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1378, allocations: 4 kB / 0.5656 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.1384, allocations: 243.8 kB / 0.5658 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1395, allocations: 0.9502 MB / 0.5667 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007404/0.1402, allocations: 269.1 kB / 0.567 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.1406, allocations: 137.5 kB / 0.5671 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1406, allocations: 0 / 0.5671 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1406, allocations: 38.5 kB / 0.5672 GB, free: 1.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.1406, allocations: 0 / 0.5672 GB, free: 1.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001164/0.1418, allocations: 397.5 kB / 0.5675 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.1419, allocations: 93.05 kB / 0.5676 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.1421, allocations: 263 kB / 0.5679 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1421, allocations: 29.7 kB / 0.5679 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.1422, allocations: 160.1 kB / 0.5681 GB, free: 436 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.1423, allocations: 55.2 kB / 0.5681 GB, free: 380 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.1423, allocations: 25.72 kB / 0.5681 GB, free: 348 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1424, allocations: 342.8 kB / 0.5685 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.1428, allocations: 107.9 kB / 0.5686 GB, free: 15.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.1431, allocations: 173.4 kB / 0.5687 GB, free: 15.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.1438, allocations: 285.7 kB / 0.569 GB, free: 15.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1438, allocations: 0 / 0.569 GB, free: 15.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008281/0.1447, allocations: 341 kB / 0.5693 GB, free: 15.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1447, allocations: 8 kB / 0.5693 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1447, allocations: 0 / 0.5693 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1447, allocations: 7.984 kB / 0.5693 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.145, allocations: 64.08 kB / 0.5694 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.145, allocations: 11.94 kB / 0.5694 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1452, allocations: 51.8 kB / 0.5695 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1453, allocations: 4 kB / 0.5695 GB, free: 14.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001007/0.1454, allocations: 129.8 kB / 0.5696 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1455, allocations: 39.56 kB / 0.5696 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008136/0.1463, allocations: 327.3 kB / 0.5699 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1463, allocations: 4.094 kB / 0.5699 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1463, allocations: 3.938 kB / 0.57 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1463, allocations: 0 / 0.57 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.1467, allocations: 305.3 kB / 0.5702 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1467, allocations: 0 / 0.5702 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.147, allocations: 67.89 kB / 0.5703 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.147, allocations: 4 kB / 0.5703 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.147, allocations: 4 kB / 0.5703 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.147, allocations: 7.938 kB / 0.5703 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.147, allocations: 0 / 0.5703 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/0.1479, allocations: 491.9 kB / 0.5708 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.1479, allocations: 96.83 kB / 0.5709 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.148, allocations: 4 kB / 0.5709 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1482, allocations: 35.97 kB / 0.5709 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.1483, allocations: 19.97 kB / 0.5709 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1483, allocations: 8 kB / 0.5709 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1485, allocations: 190 kB / 0.5711 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1485, allocations: 4 kB / 0.5711 GB, free: 13.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.1488, allocations: 55.84 kB / 0.5712 GB, free: 13.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (20): * Single equations (assignments): 20 * 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.001111/0.1499, allocations: 1.028 MB / 0.5722 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007363/0.1507, allocations: 274 kB / 0.5725 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1507, allocations: 0 / 0.5725 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.1511, allocations: 148.2 kB / 0.5726 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.1516, allocations: 64.97 kB / 0.5727 GB, free: 11.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.1554, allocations: 2.9 MB / 0.5755 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.1557, allocations: 0.7482 MB / 0.5762 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.1558, allocations: 34.28 kB / 0.5763 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.156, allocations: 83.34 kB / 0.5763 GB, free: 7.617 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.156, allocations: 0 / 0.5763 GB, free: 7.617 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.308/2.464, allocations: 5.886 MB / 0.5821 GB, free: 1.949 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/2.465, allocations: 207.5 kB / 0.5823 GB, free: 1.695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/4.204, allocations: 3.234 kB / 0.5823 GB, free: 1.695 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)