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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 115.8 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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 / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 186.7 kB / 295 MB, free: 12.65 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03926/0.03926, allocations: 8.79 MB / 356 MB, free: 15.9 MB / 302.1 MB " [Timeout remaining time 180] 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=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 0.002225/0.002225, allocations: 87.84 kB / 473.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3125, allocations: 51.55 MB / 0.5125 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002951/0.3155, allocations: 1.724 MB / 0.5142 GB, free: 11.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.3158, allocations: 105.2 kB / 0.5143 GB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.3158, allocations: 2.312 kB / 0.5143 GB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.854e-05/0.3159, allocations: 17.02 kB / 0.5143 GB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.317e-05/0.316, allocations: 36.44 kB / 0.5144 GB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.3162, allocations: 23.52 kB / 0.5144 GB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3163, allocations: 113 kB / 0.5145 GB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.3165, allocations: 54.11 kB / 0.5146 GB, free: 10.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.3166, allocations: 38.27 kB / 0.5146 GB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3167, allocations: 51.62 kB / 0.5146 GB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.3168, allocations: 8.156 kB / 0.5147 GB, free: 10.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.491e-05/0.3168, allocations: 10.31 kB / 0.5147 GB, free: 10.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.3168, allocations: 18.3 kB / 0.5147 GB, free: 10.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.3169, allocations: 47.31 kB / 0.5147 GB, free: 10.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3171, allocations: 120.8 kB / 0.5148 GB, free: 10.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3171, allocations: 1.125 kB / 0.5148 GB, free: 10.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3171, allocations: 0 / 0.5148 GB, free: 10.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3171, allocations: 0 / 0.5148 GB, free: 10.63 MB / 334.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.0005825/0.3177, allocations: 404.9 kB / 0.5152 GB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3178, allocations: 9.375 kB / 0.5152 GB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.3178, allocations: 10.33 kB / 0.5152 GB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.318, allocations: 171.7 kB / 0.5154 GB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.318, allocations: 4.844 kB / 0.5154 GB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.318, allocations: 14.83 kB / 0.5154 GB, free: 10 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3182, allocations: 96.03 kB / 0.5155 GB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3182, allocations: 192 / 0.5155 GB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3183, allocations: 7.938 kB / 0.5155 GB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3183, allocations: 0 / 0.5155 GB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.3184, allocations: 59.97 kB / 0.5156 GB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.3192, allocations: 0.4897 MB / 0.5161 GB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.3194, allocations: 94.47 kB / 0.5162 GB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.294e-05/0.3195, allocations: 36.84 kB / 0.5162 GB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3195, allocations: 4 kB / 0.5162 GB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3195, allocations: 34.56 kB / 0.5162 GB, free: 9.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3196, allocations: 0 / 0.5162 GB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005286/0.3201, allocations: 219.4 kB / 0.5164 GB, free: 8.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3201, allocations: 51.41 kB / 0.5165 GB, free: 8.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3202, allocations: 121.8 kB / 0.5166 GB, free: 8.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.3203, allocations: 25.7 kB / 0.5166 GB, free: 8.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.3203, allocations: 108.3 kB / 0.5167 GB, free: 8.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3204, allocations: 31.73 kB / 0.5168 GB, free: 8.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.3204, allocations: 21.72 kB / 0.5168 GB, free: 8.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3206, allocations: 322.8 kB / 0.5171 GB, free: 8.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.3206, allocations: 15.94 kB / 0.5171 GB, free: 8.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.3207, allocations: 41.64 kB / 0.5171 GB, free: 8.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.3208, allocations: 53.72 kB / 0.5172 GB, free: 8.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3208, allocations: 0 / 0.5172 GB, free: 8.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002122/0.321, allocations: 118.3 kB / 0.5173 GB, free: 7.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.321, allocations: 4 kB / 0.5173 GB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.321, allocations: 3.984 kB / 0.5173 GB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.3212, allocations: 36.86 kB / 0.5173 GB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.3213, allocations: 12 kB / 0.5174 GB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.3225, allocations: 1.426 MB / 0.5188 GB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.3226, allocations: 3.938 kB / 0.5188 GB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.3226, allocations: 4.031 kB / 0.5188 GB, free: 6.27 MB / 334.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.492e-05/0.3227, allocations: 113.8 kB / 0.5189 GB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3227, allocations: 15.89 kB / 0.5189 GB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.3228, allocations: 8.375 kB / 0.5189 GB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3228, allocations: 12.05 kB / 0.5189 GB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3228, allocations: 0 / 0.5189 GB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3228, allocations: 0 / 0.5189 GB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.323, allocations: 197.6 kB / 0.5191 GB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.323, allocations: 0 / 0.5191 GB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.3231, allocations: 16.27 kB / 0.5191 GB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.3232, allocations: 28.92 kB / 0.5191 GB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3232, allocations: 7.984 kB / 0.5191 GB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.3244, allocations: 1.418 MB / 0.5205 GB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3244, allocations: 0 / 0.5205 GB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.3247, allocations: 228.3 kB / 0.5207 GB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.3248, allocations: 85.12 kB / 0.5208 GB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.3248, allocations: 4 kB / 0.5208 GB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.965e-05/0.3249, allocations: 3.938 kB / 0.5208 GB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.3249, allocations: 8 kB / 0.5208 GB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3249, allocations: 0 / 0.5208 GB, free: 3.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.949e-05/0.325, allocations: 95.33 kB / 0.5209 GB, free: 3.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.325, allocations: 7.938 kB / 0.5209 GB, free: 3.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.3253, allocations: 35.89 kB / 0.521 GB, free: 3.762 MB / 334.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 0.00011/0.3254, allocations: 91.25 kB / 0.5211 GB, free: 3.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.3257, allocations: 174.6 kB / 0.5212 GB, free: 3.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3257, allocations: 0 / 0.5212 GB, free: 3.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.3259, allocations: 147.1 kB / 0.5214 GB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3262, allocations: 12 kB / 0.5214 GB, free: 3.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.3269, allocations: 319.5 kB / 0.5217 GB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3272, allocations: 0.6963 MB / 0.5224 GB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.3273, allocations: 7.438 kB / 0.5224 GB, free: 2.238 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3273, allocations: 480 / 0.5224 GB, free: 2.238 MB / 334.1 MB Notification: Performance of Templates: time 0.003644/0.3309, allocations: 1.616 MB / 0.5239 GB, free: 0.625 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.398580155102536] Failed to read output from testmodel.py, exit status != 0: 0.3372509640175849 0.35126885199999996 0.031649935000000004 Calling exit ...