Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009329/0.0009365, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007033/0.007033, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.278/1.278, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001592/0.001592, allocations: 285.6 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8508/0.8508, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 14.59 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001865/0.1397, allocations: 1.815 MB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1412, allocations: 1.047 MB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.1413, allocations: 4.562 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.1413, allocations: 18.12 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1416, allocations: 71.91 kB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1419, allocations: 146 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.1422, allocations: 279.6 kB / 0.6885 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1423, allocations: 74.27 kB / 0.6886 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1425, allocations: 91.52 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1426, allocations: 131.3 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.1427, allocations: 8 kB / 0.6888 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.143, allocations: 283.6 kB / 0.6891 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.487e-05/0.1431, allocations: 39.78 kB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.473e-05/0.1432, allocations: 125 kB / 0.6892 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.1435, allocations: 318.9 kB / 0.6895 GB, free: 10.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1435, allocations: 0.7188 kB / 0.6895 GB, free: 10.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1435, allocations: 0 / 0.6895 GB, free: 10.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1435, allocations: 0.5312 kB / 0.6895 GB, free: 10.54 MB / 494.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.000885/0.1444, allocations: 0.6058 MB / 0.6901 GB, free: 9.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1444, allocations: 8.031 kB / 0.6901 GB, free: 9.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.1445, allocations: 46.73 kB / 0.6902 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.1447, allocations: 40.55 kB / 0.6902 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.145, allocations: 275.5 kB / 0.6905 GB, free: 9.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.145, allocations: 12.66 kB / 0.6905 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.145, allocations: 16.38 kB / 0.6905 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.1455, allocations: 252.7 kB / 0.6908 GB, free: 9.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1455, allocations: 4 kB / 0.6908 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1456, allocations: 4 kB / 0.6908 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1456, allocations: 4 kB / 0.6908 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.1462, allocations: 247.7 kB / 0.691 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/0.1472, allocations: 0.9423 MB / 0.6919 GB, free: 7.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007168/0.148, allocations: 273.2 kB / 0.6922 GB, free: 7.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.1483, allocations: 133.5 kB / 0.6923 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1483, allocations: 0 / 0.6923 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.1484, allocations: 30.56 kB / 0.6923 GB, free: 7.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.1484, allocations: 0 / 0.6923 GB, free: 7.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001141/0.1495, allocations: 409.3 kB / 0.6927 GB, free: 7.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1496, allocations: 81.11 kB / 0.6928 GB, free: 6.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.1498, allocations: 263 kB / 0.6931 GB, free: 6.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1498, allocations: 29.7 kB / 0.6931 GB, free: 6.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.1499, allocations: 160.2 kB / 0.6932 GB, free: 6.488 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.1499, allocations: 55.2 kB / 0.6933 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.15, allocations: 25.7 kB / 0.6933 GB, free: 6.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.1501, allocations: 334.8 kB / 0.6936 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.1504, allocations: 111.9 kB / 0.6937 GB, free: 5.957 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.1508, allocations: 164.1 kB / 0.6939 GB, free: 5.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/0.1514, allocations: 297.7 kB / 0.6942 GB, free: 5.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1515, allocations: 0 / 0.6942 GB, free: 5.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008125/0.1523, allocations: 341.5 kB / 0.6945 GB, free: 5.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1523, allocations: 8 kB / 0.6945 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1523, allocations: 4.125 kB / 0.6945 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1523, allocations: 7.938 kB / 0.6945 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1526, allocations: 67.89 kB / 0.6946 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1526, allocations: 8.062 kB / 0.6946 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1529, allocations: 47.81 kB / 0.6946 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1529, allocations: 11.98 kB / 0.6947 GB, free: 4.973 MB / 494.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.0001014/0.153, allocations: 131.1 kB / 0.6948 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1531, allocations: 31.66 kB / 0.6948 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.1539, allocations: 339 kB / 0.6951 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1539, allocations: 4 kB / 0.6951 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1539, allocations: 0 / 0.6951 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1539, allocations: 4.266 kB / 0.6951 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1542, allocations: 293.4 kB / 0.6954 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1543, allocations: 4 kB / 0.6954 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.1545, allocations: 67.89 kB / 0.6955 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1545, allocations: 0 / 0.6955 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1545, allocations: 8 kB / 0.6955 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1545, allocations: 4 kB / 0.6955 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1546, allocations: 0 / 0.6955 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008126/0.1554, allocations: 494.1 kB / 0.696 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.1554, allocations: 100.8 kB / 0.6961 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1555, allocations: 4 kB / 0.6961 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1557, allocations: 43.95 kB / 0.6961 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.1558, allocations: 11.98 kB / 0.6961 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1558, allocations: 11.98 kB / 0.6961 GB, free: 3.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.156, allocations: 182 kB / 0.6963 GB, free: 3.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.156, allocations: 4 kB / 0.6963 GB, free: 3.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.1563, allocations: 63.89 kB / 0.6964 GB, free: 3.113 MB / 494.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.001086/0.1574, allocations: 1.033 MB / 0.6974 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007024/0.1581, allocations: 267.9 kB / 0.6976 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1581, allocations: 0 / 0.6976 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.1585, allocations: 139.9 kB / 0.6978 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.159, allocations: 70.09 kB / 0.6978 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.1626, allocations: 2.896 MB / 0.7007 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.1629, allocations: 0.7519 MB / 0.7014 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.163, allocations: 34.44 kB / 0.7014 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1632, allocations: 83.41 kB / 0.7015 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1632, allocations: 0 / 0.7015 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5156/0.6788, allocations: 5.913 MB / 0.7073 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.679, allocations: 228.1 kB / 0.7075 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.441, allocations: 1.875 kB / 0.7075 GB, free: 7.75 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)