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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009909/0.0009909, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9663/0.9663, allocations: 177.2 MB / 200.3 MB, free: 5.395 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 159.7 kB / 257 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02678/0.02678, allocations: 6.66 MB / 266.9 MB, free: 3.078 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 285.6 MB, free: 380 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.57e-05, allocations: 2.312 kB / 285.6 MB, free: 376 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.1126/0.1126, allocations: 1.759 MB / 287.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.1129, allocations: 105.5 kB / 287.5 MB, free: 21.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.1129, allocations: 2.719 kB / 287.5 MB, free: 21.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.113, allocations: 14.05 kB / 287.5 MB, free: 21.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.113, allocations: 38.17 kB / 287.5 MB, free: 21.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.1131, allocations: 31.59 kB / 287.6 MB, free: 21.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.1132, allocations: 117.8 kB / 287.7 MB, free: 21.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1133, allocations: 32.67 kB / 287.7 MB, free: 21.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.1134, allocations: 61.22 kB / 287.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.722e-05/0.1135, allocations: 38.91 kB / 287.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.1135, allocations: 7.5 kB / 287.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.545e-05/0.1135, allocations: 9.625 kB / 287.8 MB, free: 21.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.1136, allocations: 25.95 kB / 287.9 MB, free: 21.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.1136, allocations: 37.88 kB / 287.9 MB, free: 21.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1137, allocations: 73.44 kB / 288 MB, free: 21.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1137, allocations: 1.234 kB / 288 MB, free: 21.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1137, allocations: 0 / 288 MB, free: 21.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1137, allocations: 1.625 kB / 288 MB, free: 21.29 MB / 266.7 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.0002863/0.114, allocations: 299.9 kB / 288.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.114, allocations: 9.938 kB / 288.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.1141, allocations: 13.86 kB / 288.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.823e-05/0.1141, allocations: 115.4 kB / 288.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1141, allocations: 8.625 kB / 288.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1142, allocations: 9.75 kB / 288.4 MB, free: 20.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.157e-05/0.1143, allocations: 71.12 kB / 288.5 MB, free: 20.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1143, allocations: 4.859 kB / 288.5 MB, free: 20.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1143, allocations: 7.656 kB / 288.5 MB, free: 20.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1143, allocations: 3.875 kB / 288.5 MB, free: 20.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.1143, allocations: 35.05 kB / 288.5 MB, free: 20.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1147, allocations: 276.3 kB / 288.8 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1148, allocations: 57.44 kB / 288.9 MB, free: 20.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.1148, allocations: 26.5 kB / 288.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.1148, allocations: 1.891 kB / 288.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.1148, allocations: 32.75 kB / 288.9 MB, free: 20.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.113e-06/0.1148, allocations: 0 / 288.9 MB, free: 20.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002524/0.1151, allocations: 108.4 kB / 289 MB, free: 20.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.638e-05/0.1151, allocations: 57.06 kB / 289.1 MB, free: 20.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.042e-05/0.1152, allocations: 113 kB / 289.2 MB, free: 20.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.1152, allocations: 25.7 kB / 289.2 MB, free: 20.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.1152, allocations: 113 kB / 289.3 MB, free: 20.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.1152, allocations: 29.47 kB / 289.4 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.1152, allocations: 23.78 kB / 289.4 MB, free: 20.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.847e-05/0.1153, allocations: 319.7 kB / 289.7 MB, free: 19.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.1153, allocations: 7.219 kB / 289.7 MB, free: 19.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.1153, allocations: 25.25 kB / 289.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.1153, allocations: 41.52 kB / 289.8 MB, free: 19.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1153, allocations: 0 / 289.8 MB, free: 19.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.177e-05/0.1154, allocations: 83.23 kB / 289.9 MB, free: 19.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1154, allocations: 8.906 kB / 289.9 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1154, allocations: 1.703 kB / 289.9 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.1155, allocations: 28.09 kB / 289.9 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-05/0.1156, allocations: 16.81 kB / 289.9 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004022/0.116, allocations: 1.189 MB / 291.1 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.116, allocations: 7.609 kB / 291.1 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.116, allocations: 5.219 kB / 291.1 MB, free: 18.63 MB / 266.7 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 4.002e-05/0.116, allocations: 114.2 kB / 291.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.1161, allocations: 10.66 kB / 291.2 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.1161, allocations: 11.23 kB / 291.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1161, allocations: 1.125 kB / 291.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1161, allocations: 1.781 kB / 291.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1161, allocations: 0.75 kB / 291.2 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.194e-05/0.1162, allocations: 94.94 kB / 291.3 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1162, allocations: 0 / 291.3 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.1162, allocations: 17.81 kB / 291.4 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.171e-05/0.1163, allocations: 25.03 kB / 291.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.1163, allocations: 1.125 kB / 291.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003258/0.1166, allocations: 1.178 MB / 292.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1166, allocations: 3.297 kB / 292.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.1167, allocations: 192.8 kB / 292.8 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.1167, allocations: 7.109 kB / 292.8 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-06/0.1167, allocations: 5.734 kB / 292.8 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.107e-05/0.1167, allocations: 0 / 292.8 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.1168, allocations: 11.33 kB / 292.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1168, allocations: 7.625 kB / 292.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.293e-05/0.1168, allocations: 16.05 kB / 292.8 MB, free: 17.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1168, allocations: 0 / 292.8 MB, free: 17.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.1169, allocations: 31.83 kB / 292.8 MB, free: 17.05 MB / 266.7 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 5.967e-05/0.117, allocations: 77.75 kB / 292.9 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1171, allocations: 158.5 kB / 293.1 MB, free: 16.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1171, allocations: 0 / 293.1 MB, free: 16.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.1172, allocations: 139.3 kB / 293.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.1173, allocations: 12.23 kB / 293.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.1177, allocations: 268.3 kB / 293.5 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.617e-05/0.1177, allocations: 64.44 kB / 293.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.768e-05/0.1178, allocations: 7.938 kB / 293.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.1178, allocations: 58.33 kB / 293.6 MB, free: 16.4 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1178, allocations: 0 / 293.6 MB, free: 16.4 MB / 266.7 MB Notification: Performance of Templates: time 0.002644/0.1204, allocations: 1.147 MB / 294.7 MB, free: 16.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5819833278656006]