Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.00102/0.00102, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001041/0.001041, allocations: 194.6 kB / 16.25 MB, free: 6.617 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 283 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9306/0.9306, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 93.38 kB / 0.5948 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1369, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002405/0.1393, allocations: 1.627 MB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1405, allocations: 0.9018 MB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.1406, allocations: 3.938 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.1406, allocations: 3.984 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1408, allocations: 15.86 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1411, allocations: 122.5 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1412, allocations: 79.66 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.1413, allocations: 28.55 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.507e-05/0.1414, allocations: 24.8 kB / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.1415, allocations: 31.86 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1415, allocations: 8.531 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.1418, allocations: 280.8 kB / 0.6828 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.1419, allocations: 19.84 kB / 0.6828 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.1419, allocations: 35.81 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1421, allocations: 148.6 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1421, allocations: 0 / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1421, allocations: 0 / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1421, allocations: 4 kB / 0.683 GB, free: 13.64 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004779/0.1426, allocations: 407.1 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1427, allocations: 8.031 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.1427, allocations: 38.75 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1428, allocations: 8.844 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.143, allocations: 188.2 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.143, allocations: 4.375 kB / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.143, allocations: 8.359 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.1432, allocations: 65.78 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1432, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1432, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1432, allocations: 7.938 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1433, allocations: 39.97 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1437, allocations: 304.7 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1439, allocations: 54.55 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.751e-05/0.144, allocations: 32.97 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.144, allocations: 0 / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.144, allocations: 38.5 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.164e-06/0.144, allocations: 0 / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003264/0.1443, allocations: 105.5 kB / 0.6842 GB, free: 12.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1444, allocations: 51.41 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.1445, allocations: 133.8 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1445, allocations: 25.7 kB / 0.6844 GB, free: 11.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.1445, allocations: 96.06 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1446, allocations: 23.75 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1446, allocations: 21.7 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.1447, allocations: 322.8 kB / 0.6849 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.1448, allocations: 19.98 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.1449, allocations: 27.91 kB / 0.6849 GB, free: 11.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.145, allocations: 48.84 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.145, allocations: 7.984 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002029/0.1452, allocations: 89.58 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1452, allocations: 6.188 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.1453, allocations: 0 / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1453, allocations: 0 / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1454, allocations: 15.98 kB / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1454, allocations: 0 / 0.6851 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.1455, allocations: 7.984 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1455, allocations: 11.94 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.286e-05/0.1456, allocations: 115.1 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.1456, allocations: 7.906 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.1458, allocations: 102.4 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1459, allocations: 0 / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1459, allocations: 0 / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1459, allocations: 0 / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.146, allocations: 197.6 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1461, allocations: 0 / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.1462, allocations: 19.92 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1462, allocations: 0 / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1462, allocations: 4 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1462, allocations: 0 / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1462, allocations: 0 / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1464, allocations: 187.5 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.1465, allocations: 88.95 kB / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1465, allocations: 0 / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.1466, allocations: 11.92 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.1466, allocations: 0 / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.1467, allocations: 7.984 kB / 0.6858 GB, free: 10.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.1467, allocations: 99.27 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1467, allocations: 0 / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.147, allocations: 23.91 kB / 0.6859 GB, free: 10.28 MB / 494.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 (6): * Single equations (assignments): 6 * 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.0004999/0.1475, allocations: 0.7319 MB / 0.6866 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1477, allocations: 63.89 kB / 0.6867 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1477, allocations: 3.938 kB / 0.6867 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.1478, allocations: 31.98 kB / 0.6867 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1481, allocations: 15.89 kB / 0.6867 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.1495, allocations: 1.474 MB / 0.6882 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1497, allocations: 0.6924 MB / 0.6889 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.1497, allocations: 11.97 kB / 0.6889 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/0.1498, allocations: 19.44 kB / 0.6889 GB, free: 7.109 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1498, allocations: 0 / 0.6889 GB, free: 7.109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2458/0.3956, allocations: 2.171 MB / 0.691 GB, free: 5.117 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.3958, allocations: 228.4 kB / 0.6912 GB, free: 4.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.017, allocations: 2.672 kB / 0.6912 GB, free: 4.863 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)