Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009619, allocations: 91.84 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.008064/0.008064, allocations: 170.3 kB / 16.26 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001768, allocations: 266.6 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 15 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004468/0.1465, allocations: 4.193 MB / 0.6892 GB, free: 10.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009557/0.1475, allocations: 0.8133 MB / 0.69 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.1475, allocations: 1.781 kB / 0.69 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.1477, allocations: 27.83 kB / 0.6901 GB, free: 10.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.1477, allocations: 31.77 kB / 0.6901 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1481, allocations: 146 kB / 0.6902 GB, free: 9.887 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1483, allocations: 164.1 kB / 0.6904 GB, free: 9.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.56e-05/0.1484, allocations: 19.58 kB / 0.6904 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1485, allocations: 71.75 kB / 0.6905 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.1486, allocations: 75.66 kB / 0.6905 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1487, allocations: 8 kB / 0.6905 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.149, allocations: 141.8 kB / 0.6907 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.149, allocations: 27.91 kB / 0.6907 GB, free: 9.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.1491, allocations: 89.34 kB / 0.6908 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1494, allocations: 219.6 kB / 0.691 GB, free: 9.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1494, allocations: 0.625 kB / 0.691 GB, free: 9.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1494, allocations: 4.719 kB / 0.691 GB, free: 9.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1494, allocations: 0 / 0.691 GB, free: 9.082 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007918/0.1502, allocations: 478.5 kB / 0.6915 GB, free: 8.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1503, allocations: 11.97 kB / 0.6915 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.1503, allocations: 16.75 kB / 0.6915 GB, free: 8.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1504, allocations: 184.2 kB / 0.6917 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1505, allocations: 8.375 kB / 0.6917 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.1505, allocations: 12.38 kB / 0.6917 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.1508, allocations: 133.8 kB / 0.6918 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1509, allocations: 0 / 0.6918 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1509, allocations: 0 / 0.6918 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1509, allocations: 4 kB / 0.6918 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.1513, allocations: 163.8 kB / 0.692 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009614/0.1523, allocations: 472.4 kB / 0.6924 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.1526, allocations: 142.5 kB / 0.6926 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1528, allocations: 76.81 kB / 0.6926 GB, free: 7.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.1541, allocations: 0.9567 MB / 0.6936 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1542, allocations: 42.56 kB / 0.6936 GB, free: 6.121 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.1542, allocations: 0 / 0.6936 GB, free: 6.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007141/0.1549, allocations: 241.3 kB / 0.6938 GB, free: 5.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1549, allocations: 55.41 kB / 0.6939 GB, free: 5.812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1551, allocations: 160.8 kB / 0.694 GB, free: 5.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1551, allocations: 33.7 kB / 0.6941 GB, free: 5.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.1552, allocations: 108.4 kB / 0.6942 GB, free: 5.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.1552, allocations: 47.39 kB / 0.6942 GB, free: 5.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.1553, allocations: 29.7 kB / 0.6943 GB, free: 5.418 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1554, allocations: 318.8 kB / 0.6946 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.1556, allocations: 99.81 kB / 0.6947 GB, free: 5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1559, allocations: 113.3 kB / 0.6948 GB, free: 4.879 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.1564, allocations: 205.5 kB / 0.695 GB, free: 4.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1564, allocations: 0 / 0.695 GB, free: 4.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005807/0.157, allocations: 261.2 kB / 0.6952 GB, free: 4.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.157, allocations: 8 kB / 0.6952 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.157, allocations: 0 / 0.6952 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.157, allocations: 7.938 kB / 0.6952 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.1573, allocations: 63.98 kB / 0.6953 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1573, allocations: 0 / 0.6953 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.1575, allocations: 31.83 kB / 0.6953 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1575, allocations: 8 kB / 0.6953 GB, free: 4.289 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 9.125e-05/0.1576, allocations: 126.4 kB / 0.6954 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.1577, allocations: 23.8 kB / 0.6955 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.1582, allocations: 186.9 kB / 0.6956 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1582, allocations: 0 / 0.6956 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1582, allocations: 7.984 kB / 0.6956 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1582, allocations: 0 / 0.6956 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1584, allocations: 225.4 kB / 0.6959 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1584, allocations: 3.938 kB / 0.6959 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.1586, allocations: 43.91 kB / 0.6959 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1586, allocations: 0 / 0.6959 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1586, allocations: 7.938 kB / 0.6959 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1586, allocations: 0 / 0.6959 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1586, allocations: 0 / 0.6959 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.1591, allocations: 271.9 kB / 0.6962 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1592, allocations: 100.9 kB / 0.6963 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1592, allocations: 3.938 kB / 0.6963 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1594, allocations: 27.97 kB / 0.6963 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.1594, allocations: 11.97 kB / 0.6963 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.1594, allocations: 4 kB / 0.6963 GB, free: 3.172 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.1595, allocations: 119.2 kB / 0.6964 GB, free: 3.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1595, allocations: 0 / 0.6964 GB, free: 3.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.1598, allocations: 64.31 kB / 0.6965 GB, free: 2.996 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 (12): * Single equations (assignments): 12 * 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.0002453/0.1601, allocations: 155.1 kB / 0.6966 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005206/0.1606, allocations: 196.7 kB / 0.6968 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.1606, allocations: 0 / 0.6968 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.1609, allocations: 88.11 kB / 0.6969 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1612, allocations: 16.75 kB / 0.6969 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.1616, allocations: 302 kB / 0.6972 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1619, allocations: 0.7048 MB / 0.6979 GB, free: 1.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.546e-05/0.162, allocations: 15.91 kB / 0.6979 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.162, allocations: 23.42 kB / 0.6979 GB, free: 1.457 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.162, allocations: 0 / 0.6979 GB, free: 1.457 MB / 494.1 MB Notification: Performance of Templates: time 0.005381/0.1674, allocations: 2.538 MB / 0.7004 GB, free: 14.96 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)