Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.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.001564/0.001564, allocations: 112.7 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.2 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.001545/0.001545, allocations: 185.8 kB / 295 MB, free: 12.64 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.04015/0.04015, allocations: 8.805 MB / 356 MB, free: 15.88 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.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 91.84 kB / 473.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3255, allocations: 51.55 MB / 0.5125 GB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.00383/0.3294, allocations: 2.429 MB / 0.5149 GB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000977/0.3304, allocations: 0.5746 MB / 0.5155 GB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.3305, allocations: 4 kB / 0.5155 GB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3306, allocations: 31.72 kB / 0.5155 GB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3308, allocations: 71.33 kB / 0.5156 GB, free: 9.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.331, allocations: 63.81 kB / 0.5156 GB, free: 9.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.3313, allocations: 242.8 kB / 0.5159 GB, free: 9.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.3315, allocations: 88.19 kB / 0.516 GB, free: 9.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3316, allocations: 91.64 kB / 0.516 GB, free: 9.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.3318, allocations: 95.56 kB / 0.5161 GB, free: 9.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.3318, allocations: 20 kB / 0.5162 GB, free: 9.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.82e-05/0.3319, allocations: 16 kB / 0.5162 GB, free: 9.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.3319, allocations: 47.78 kB / 0.5162 GB, free: 9.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.332, allocations: 103.5 kB / 0.5163 GB, free: 9.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.3323, allocations: 234.5 kB / 0.5165 GB, free: 8.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3323, allocations: 8 kB / 0.5165 GB, free: 8.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3323, allocations: 0 / 0.5165 GB, free: 8.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.3324, allocations: 0 / 0.5165 GB, free: 8.961 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007856/0.3331, allocations: 0.5062 MB / 0.517 GB, free: 8.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3332, allocations: 8.031 kB / 0.517 GB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.3332, allocations: 24.8 kB / 0.5171 GB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.3336, allocations: 243.9 kB / 0.5173 GB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3336, allocations: 8.375 kB / 0.5173 GB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.3336, allocations: 24.38 kB / 0.5173 GB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.334, allocations: 195.5 kB / 0.5175 GB, free: 7.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.334, allocations: 4 kB / 0.5175 GB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.334, allocations: 8 kB / 0.5175 GB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.334, allocations: 4 kB / 0.5175 GB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.3343, allocations: 111.9 kB / 0.5176 GB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3354, allocations: 0.7365 MB / 0.5184 GB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.3357, allocations: 142.7 kB / 0.5185 GB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.3358, allocations: 56.84 kB / 0.5186 GB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.3358, allocations: 0 / 0.5186 GB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.336, allocations: 98.2 kB / 0.5186 GB, free: 6.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.336, allocations: 0 / 0.5186 GB, free: 6.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006431/0.3366, allocations: 291.4 kB / 0.5189 GB, free: 6.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.3367, allocations: 59.39 kB / 0.519 GB, free: 6.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3369, allocations: 183.9 kB / 0.5192 GB, free: 6.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3369, allocations: 29.7 kB / 0.5192 GB, free: 6.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.337, allocations: 136.4 kB / 0.5193 GB, free: 5.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.3371, allocations: 55.53 kB / 0.5194 GB, free: 5.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.3372, allocations: 37.72 kB / 0.5194 GB, free: 5.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3373, allocations: 326.8 kB / 0.5197 GB, free: 5.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.859e-05/0.3374, allocations: 31.98 kB / 0.5197 GB, free: 5.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.3375, allocations: 76.17 kB / 0.5198 GB, free: 5.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.3377, allocations: 114.6 kB / 0.5199 GB, free: 5.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3377, allocations: 0 / 0.5199 GB, free: 5.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003131/0.338, allocations: 186.2 kB / 0.5201 GB, free: 5.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.338, allocations: 8 kB / 0.5201 GB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.338, allocations: 4.062 kB / 0.5201 GB, free: 5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.3382, allocations: 32.84 kB / 0.5202 GB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3383, allocations: 31.92 kB / 0.5202 GB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.3396, allocations: 1.469 MB / 0.5216 GB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3397, allocations: 19.88 kB / 0.5216 GB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3398, allocations: 4 kB / 0.5216 GB, free: 3.293 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.3399, allocations: 129.8 kB / 0.5218 GB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.3399, allocations: 19.84 kB / 0.5218 GB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.34, allocations: 21.59 kB / 0.5218 GB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.34, allocations: 3.938 kB / 0.5218 GB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.34, allocations: 3.984 kB / 0.5218 GB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.34, allocations: 4 kB / 0.5218 GB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3403, allocations: 257.5 kB / 0.5221 GB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3403, allocations: 0 / 0.5221 GB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.3404, allocations: 19.98 kB / 0.5221 GB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.3405, allocations: 36.77 kB / 0.5221 GB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3405, allocations: 8 kB / 0.5221 GB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.3417, allocations: 1.458 MB / 0.5235 GB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3417, allocations: 4.062 kB / 0.5235 GB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.3421, allocations: 239.9 kB / 0.5238 GB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.3422, allocations: 108.9 kB / 0.5239 GB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.3423, allocations: 3.938 kB / 0.5239 GB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.3424, allocations: 11.98 kB / 0.5239 GB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.3424, allocations: 12.05 kB / 0.5239 GB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3424, allocations: 12 kB / 0.5239 GB, free: 0.7148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3426, allocations: 137.2 kB / 0.524 GB, free: 0.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3426, allocations: 0 / 0.524 GB, free: 0.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3428, allocations: 55.89 kB / 0.5241 GB, free: 0.5273 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: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.3429, allocations: 95.25 kB / 0.5242 GB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.3433, allocations: 222.7 kB / 0.5244 GB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3433, allocations: 4 kB / 0.5244 GB, free: 196 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.3436, allocations: 166.7 kB / 0.5246 GB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3438, allocations: 43.91 kB / 0.5246 GB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.3446, allocations: 471.2 kB / 0.5251 GB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.345, allocations: 0.7436 MB / 0.5258 GB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.345, allocations: 15.44 kB / 0.5258 GB, free: 14.69 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3451, allocations: 0 / 0.5258 GB, free: 14.69 MB / 350.1 MB Notification: Performance of Templates: time 0.005093/0.3502, allocations: 3.014 MB / 0.5287 GB, free: 11.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & ./HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.559208892984316] Failed to read output from testmodel.py, exit status != 0: 0.357178770005703 0.36978434899999996 0.034999225 Calling exit ...