Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006263/0.006263, allocations: 105.9 kB / 15.73 MB, free: 6 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.383/1.383, allocations: 222.9 MB / 239.4 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 192.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03517/0.03517, allocations: 8.786 MB / 348.6 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 75.88 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1141, allocations: 51.56 MB / 0.5034 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003032/0.1172, allocations: 1.721 MB / 0.505 GB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003532/0.1176, allocations: 103.6 kB / 0.5051 GB, free: 7.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.1177, allocations: 0 / 0.5051 GB, free: 7.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.439e-05/0.1178, allocations: 15.86 kB / 0.5052 GB, free: 7.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.712e-05/0.1179, allocations: 31.7 kB / 0.5052 GB, free: 7.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.118, allocations: 27.91 kB / 0.5052 GB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1182, allocations: 111.4 kB / 0.5053 GB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1184, allocations: 47.95 kB / 0.5054 GB, free: 7.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.269e-05/0.1185, allocations: 43.86 kB / 0.5054 GB, free: 7.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.78e-05/0.1186, allocations: 43.84 kB / 0.5054 GB, free: 7.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1186, allocations: 12 kB / 0.5055 GB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.153e-05/0.1186, allocations: 12 kB / 0.5055 GB, free: 7.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.1187, allocations: 15.92 kB / 0.5055 GB, free: 7.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.1187, allocations: 55.78 kB / 0.5055 GB, free: 7.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1189, allocations: 111.6 kB / 0.5056 GB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1189, allocations: 0 / 0.5056 GB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1189, allocations: 0 / 0.5056 GB, free: 7.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1189, allocations: 0 / 0.5056 GB, free: 7.168 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000534/0.1195, allocations: 399.2 kB / 0.506 GB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1195, allocations: 8.031 kB / 0.506 GB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1196, allocations: 8.844 kB / 0.506 GB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1197, allocations: 184.1 kB / 0.5062 GB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1197, allocations: 8.375 kB / 0.5062 GB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.1198, allocations: 12.38 kB / 0.5062 GB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.12, allocations: 98.2 kB / 0.5063 GB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.12, allocations: 192 / 0.5063 GB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.12, allocations: 3.938 kB / 0.5063 GB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.12, allocations: 4 kB / 0.5063 GB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1202, allocations: 59.97 kB / 0.5064 GB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007536/0.1209, allocations: 0.4896 MB / 0.5069 GB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1212, allocations: 82.5 kB / 0.507 GB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.1212, allocations: 44.72 kB / 0.507 GB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.1213, allocations: 4 kB / 0.507 GB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1213, allocations: 38.56 kB / 0.507 GB, free: 5.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.1213, allocations: 0 / 0.507 GB, free: 5.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005496/0.1219, allocations: 231.6 kB / 0.5073 GB, free: 5.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.1219, allocations: 51.41 kB / 0.5073 GB, free: 5.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.122, allocations: 121.8 kB / 0.5074 GB, free: 5.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.122, allocations: 25.7 kB / 0.5074 GB, free: 5.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.1221, allocations: 103.9 kB / 0.5075 GB, free: 4.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1221, allocations: 31.55 kB / 0.5076 GB, free: 4.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.1222, allocations: 21.72 kB / 0.5076 GB, free: 4.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1223, allocations: 314.8 kB / 0.5079 GB, free: 4.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.1223, allocations: 19.98 kB / 0.5079 GB, free: 4.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.078e-05/0.1224, allocations: 41.64 kB / 0.508 GB, free: 4.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.183e-05/0.1225, allocations: 57.88 kB / 0.508 GB, free: 4.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1225, allocations: 0 / 0.508 GB, free: 4.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002201/0.1227, allocations: 118.8 kB / 0.5081 GB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1227, allocations: 5.562 kB / 0.5081 GB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1227, allocations: 0 / 0.5081 GB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.1229, allocations: 32.88 kB / 0.5082 GB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.123, allocations: 15.98 kB / 0.5082 GB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.1242, allocations: 1.422 MB / 0.5096 GB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1243, allocations: 7.984 kB / 0.5096 GB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1243, allocations: 4.031 kB / 0.5096 GB, free: 2.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.781e-05/0.1244, allocations: 121.7 kB / 0.5097 GB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.1244, allocations: 11.84 kB / 0.5097 GB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.1245, allocations: 12.38 kB / 0.5097 GB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1245, allocations: 4 kB / 0.5097 GB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1245, allocations: 4.062 kB / 0.5097 GB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1245, allocations: 0 / 0.5097 GB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1247, allocations: 201.5 kB / 0.5099 GB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1247, allocations: 0 / 0.5099 GB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.1248, allocations: 12 kB / 0.5099 GB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.1249, allocations: 28.78 kB / 0.51 GB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1249, allocations: 3.984 kB / 0.51 GB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009904/0.1259, allocations: 1.426 MB / 0.5114 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.126, allocations: 32 / 0.5114 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.1262, allocations: 228.3 kB / 0.5116 GB, free: 460 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.1263, allocations: 89.05 kB / 0.5117 GB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1263, allocations: 0 / 0.5117 GB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.1264, allocations: 3.938 kB / 0.5117 GB, free: 348 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.1264, allocations: 7.984 kB / 0.5117 GB, free: 340 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1264, allocations: 0 / 0.5117 GB, free: 340 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.1265, allocations: 99.27 kB / 0.5118 GB, free: 240 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1265, allocations: 4.062 kB / 0.5118 GB, free: 236 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1268, allocations: 31.84 kB / 0.5118 GB, free: 204 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.698e-05/0.1269, allocations: 95.25 kB / 0.5119 GB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1272, allocations: 163 kB / 0.512 GB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1272, allocations: 192 / 0.512 GB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1274, allocations: 142.7 kB / 0.5122 GB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1277, allocations: 23.98 kB / 0.5122 GB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.1282, allocations: 289.9 kB / 0.5125 GB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1285, allocations: 0.7001 MB / 0.5132 GB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.1286, allocations: 4.672 kB / 0.5132 GB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.1286, allocations: 11.44 kB / 0.5132 GB, free: 14.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1286, allocations: 4 kB / 0.5132 GB, free: 14.69 MB / 366.1 MB Notification: Performance of Templates: time 0.003677/0.1323, allocations: 1.133 MB / 0.5143 GB, free: 13.57 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)