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.001857/0.001857, allocations: 111.5 kB / 16.41 MB, free: 6.488 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.378/1.378, allocations: 222.9 MB / 240.1 MB, free: 4.41 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.001236/0.001236, allocations: 188.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0341/0.0341, allocations: 8.804 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1109, allocations: 51.57 MB / 0.504 GB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002703/0.1136, allocations: 1.72 MB / 0.5057 GB, free: 7.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002686/0.1139, allocations: 95.67 kB / 0.5058 GB, free: 7.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.114, allocations: 0 / 0.5058 GB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.974e-05/0.114, allocations: 19.86 kB / 0.5058 GB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.1141, allocations: 35.64 kB / 0.5059 GB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.1143, allocations: 23.95 kB / 0.5059 GB, free: 7.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1144, allocations: 111.4 kB / 0.506 GB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1146, allocations: 47.97 kB / 0.506 GB, free: 7.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.1147, allocations: 39.86 kB / 0.5061 GB, free: 7.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.927e-05/0.1148, allocations: 47.83 kB / 0.5061 GB, free: 7.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1148, allocations: 12 kB / 0.5061 GB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.1148, allocations: 12 kB / 0.5061 GB, free: 7.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.1148, allocations: 15.92 kB / 0.5062 GB, free: 7.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.979e-05/0.1149, allocations: 55.73 kB / 0.5062 GB, free: 7.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1151, allocations: 111.7 kB / 0.5063 GB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1151, allocations: 0 / 0.5063 GB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1151, allocations: 0 / 0.5063 GB, free: 7.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1151, allocations: 0 / 0.5063 GB, free: 7.16 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.0004925/0.1156, allocations: 399.2 kB / 0.5067 GB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1156, allocations: 12.03 kB / 0.5067 GB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.1157, allocations: 12.84 kB / 0.5067 GB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1158, allocations: 184.1 kB / 0.5069 GB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1158, allocations: 384 / 0.5069 GB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1159, allocations: 12.38 kB / 0.5069 GB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.116, allocations: 98.16 kB / 0.507 GB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1161, allocations: 192 / 0.507 GB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1161, allocations: 7.938 kB / 0.507 GB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1161, allocations: 4 kB / 0.507 GB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.1162, allocations: 55.91 kB / 0.5071 GB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.1169, allocations: 0.4896 MB / 0.5075 GB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1172, allocations: 90.48 kB / 0.5076 GB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.1172, allocations: 36.84 kB / 0.5077 GB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.1173, allocations: 4 kB / 0.5077 GB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.1173, allocations: 34.56 kB / 0.5077 GB, free: 5.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1173, allocations: 0 / 0.5077 GB, free: 5.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005312/0.1178, allocations: 227.5 kB / 0.5079 GB, free: 5.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1179, allocations: 51.41 kB / 0.508 GB, free: 5.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.118, allocations: 121.8 kB / 0.5081 GB, free: 5.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.118, allocations: 25.7 kB / 0.5081 GB, free: 5.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1181, allocations: 103.9 kB / 0.5082 GB, free: 4.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1181, allocations: 27.56 kB / 0.5082 GB, free: 4.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.1181, allocations: 29.64 kB / 0.5083 GB, free: 4.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1183, allocations: 318.8 kB / 0.5086 GB, free: 4.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.1183, allocations: 15.98 kB / 0.5086 GB, free: 4.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.1183, allocations: 33.7 kB / 0.5086 GB, free: 4.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.044e-05/0.1184, allocations: 66.22 kB / 0.5087 GB, free: 4.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1185, allocations: 3.938 kB / 0.5087 GB, free: 4.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.1187, allocations: 110.4 kB / 0.5088 GB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1187, allocations: 4 kB / 0.5088 GB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1187, allocations: 4 kB / 0.5088 GB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.1189, allocations: 28.88 kB / 0.5088 GB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.1189, allocations: 15.98 kB / 0.5088 GB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.12, allocations: 1.422 MB / 0.5102 GB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.1201, allocations: 8.031 kB / 0.5102 GB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1201, allocations: 320 / 0.5102 GB, free: 2.715 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.44e-05/0.1202, allocations: 129.6 kB / 0.5104 GB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1202, allocations: 11.84 kB / 0.5104 GB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.1203, allocations: 16.38 kB / 0.5104 GB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1203, allocations: 0 / 0.5104 GB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1203, allocations: 4.062 kB / 0.5104 GB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1203, allocations: 0 / 0.5104 GB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1205, allocations: 197.6 kB / 0.5106 GB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1205, allocations: 0 / 0.5106 GB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.1206, allocations: 12 kB / 0.5106 GB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.272e-05/0.1207, allocations: 28.78 kB / 0.5106 GB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1207, allocations: 11.94 kB / 0.5106 GB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009911/0.1217, allocations: 1.418 MB / 0.512 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1218, allocations: 0 / 0.512 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.122, allocations: 232.3 kB / 0.5122 GB, free: 456 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1221, allocations: 85.05 kB / 0.5123 GB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.1221, allocations: 0 / 0.5123 GB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/0.1222, allocations: 3.938 kB / 0.5123 GB, free: 348 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.1222, allocations: 11.98 kB / 0.5123 GB, free: 336 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1222, allocations: 4 kB / 0.5123 GB, free: 332 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.163e-05/0.1223, allocations: 95.3 kB / 0.5124 GB, free: 236 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1223, allocations: 64 / 0.5124 GB, free: 236 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1225, allocations: 39.84 kB / 0.5125 GB, free: 196 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 8.923e-05/0.1226, allocations: 91.25 kB / 0.5126 GB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.123, allocations: 166.6 kB / 0.5127 GB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.123, allocations: 4 kB / 0.5127 GB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1231, allocations: 134.7 kB / 0.5128 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.0003314/0.1234, allocations: 27.98 kB / 0.5129 GB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.124, allocations: 313.8 kB / 0.5132 GB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1243, allocations: 0.7002 MB / 0.5139 GB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.1243, allocations: 11.44 kB / 0.5139 GB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1243, allocations: 0 / 0.5139 GB, free: 14.67 MB / 366.1 MB Notification: Performance of Templates: time 0.003212/0.1276, allocations: 1.608 MB / 0.5154 GB, free: 13.06 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)