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.001546/0.001546, allocations: 104.9 kB / 15.99 MB, free: 5.895 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.001566/0.001567, allocations: 191.8 kB / 16.91 MB, free: 5.746 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 287.7 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.21/1.21, allocations: 178.5 MB / 0.5076 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 100.1 kB / 0.6066 GB, free: 9.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2134, allocations: 89.13 MB / 0.6936 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007094/0.2205, allocations: 4.579 MB / 0.6981 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2217, allocations: 0.8148 MB / 0.6989 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.2218, allocations: 0 / 0.6989 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.222, allocations: 39.81 kB / 0.6989 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.2221, allocations: 19.78 kB / 0.699 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.2226, allocations: 147.6 kB / 0.6991 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.2228, allocations: 179.4 kB / 0.6993 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2229, allocations: 28.88 kB / 0.6993 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2231, allocations: 71.77 kB / 0.6994 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2233, allocations: 83.66 kB / 0.6994 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.2233, allocations: 12 kB / 0.6995 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.2236, allocations: 159.7 kB / 0.6996 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.2237, allocations: 35.91 kB / 0.6996 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.2238, allocations: 67.66 kB / 0.6997 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.224, allocations: 171.9 kB / 0.6999 GB, free: 9.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.224, allocations: 0 / 0.6999 GB, free: 9.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2241, allocations: 0 / 0.6999 GB, free: 9.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2241, allocations: 0 / 0.6999 GB, free: 9.977 MB / 0.545 GB 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.0009295/0.225, allocations: 482.9 kB / 0.7003 GB, free: 9.457 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.225, allocations: 8.031 kB / 0.7003 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.2251, allocations: 12.84 kB / 0.7003 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2253, allocations: 185.6 kB / 0.7005 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2253, allocations: 12.31 kB / 0.7005 GB, free: 9.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.2253, allocations: 8.375 kB / 0.7005 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.2257, allocations: 120.3 kB / 0.7007 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2257, allocations: 4 kB / 0.7007 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2257, allocations: 8 kB / 0.7007 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2257, allocations: 0 / 0.7007 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.2262, allocations: 139.9 kB / 0.7008 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.2272, allocations: 472.4 kB / 0.7013 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.2275, allocations: 118.5 kB / 0.7014 GB, free: 8.293 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.2277, allocations: 72.81 kB / 0.7014 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/0.2293, allocations: 0.9645 MB / 0.7024 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.2293, allocations: 38.5 kB / 0.7024 GB, free: 7.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.2293, allocations: 4 kB / 0.7024 GB, free: 7.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006754/0.23, allocations: 217.2 kB / 0.7026 GB, free: 6.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.2301, allocations: 51.41 kB / 0.7027 GB, free: 6.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2303, allocations: 167.2 kB / 0.7028 GB, free: 6.613 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.2303, allocations: 29.7 kB / 0.7029 GB, free: 6.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.2304, allocations: 108.4 kB / 0.703 GB, free: 6.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.2304, allocations: 43.44 kB / 0.703 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.2305, allocations: 49.7 kB / 0.7031 GB, free: 6.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2307, allocations: 322.8 kB / 0.7034 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2309, allocations: 75.94 kB / 0.7034 GB, free: 5.973 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.2312, allocations: 111 kB / 0.7035 GB, free: 5.855 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.2316, allocations: 170.2 kB / 0.7037 GB, free: 5.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2316, allocations: 4 kB / 0.7037 GB, free: 5.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005821/0.2322, allocations: 245.1 kB / 0.7039 GB, free: 5.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2323, allocations: 4 kB / 0.7039 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2323, allocations: 4 kB / 0.7039 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2323, allocations: 3.938 kB / 0.704 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.2326, allocations: 59.98 kB / 0.704 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2326, allocations: 4 kB / 0.704 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.2328, allocations: 31.77 kB / 0.704 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.2328, allocations: 7.938 kB / 0.7041 GB, free: 5.316 MB / 0.545 GB 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 0.0001313/0.2329, allocations: 121.8 kB / 0.7042 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.233, allocations: 23.75 kB / 0.7042 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.2335, allocations: 166.9 kB / 0.7043 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2335, allocations: 7.984 kB / 0.7044 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2335, allocations: 4 kB / 0.7044 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2335, allocations: 0 / 0.7044 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.2338, allocations: 213.5 kB / 0.7046 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2338, allocations: 0 / 0.7046 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.2339, allocations: 27.97 kB / 0.7046 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.234, allocations: 8 kB / 0.7046 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.234, allocations: 11.92 kB / 0.7046 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.234, allocations: 3.938 kB / 0.7046 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.234, allocations: 3.938 kB / 0.7046 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.2345, allocations: 255.2 kB / 0.7049 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.2345, allocations: 100.9 kB / 0.705 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2346, allocations: 3.938 kB / 0.705 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2347, allocations: 19.97 kB / 0.705 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.2348, allocations: 7.984 kB / 0.705 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2348, allocations: 8 kB / 0.705 GB, free: 4.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.57e-05/0.2349, allocations: 114.3 kB / 0.7051 GB, free: 4.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2349, allocations: 0 / 0.7051 GB, free: 4.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003323/0.2352, allocations: 64.31 kB / 0.7052 GB, free: 4.078 MB / 0.545 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 (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.0003152/0.2356, allocations: 163.1 kB / 0.7053 GB, free: 3.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.2361, allocations: 178.1 kB / 0.7055 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2361, allocations: 0 / 0.7055 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.2363, allocations: 72.53 kB / 0.7056 GB, free: 3.664 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.2367, allocations: 12.75 kB / 0.7056 GB, free: 3.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.2373, allocations: 311.4 kB / 0.7059 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.2377, allocations: 0.7045 MB / 0.7066 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.2377, allocations: 19.44 kB / 0.7066 GB, free: 2.562 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.2377, allocations: 3.938 kB / 0.7066 GB, free: 2.559 MB / 0.545 GB Notification: Performance of Templates: time 0.00489/0.2426, allocations: 2.555 MB / 0.7091 GB, free: 24 kB / 0.545 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)