Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001843/0.001843, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002208/0.002208, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2149, allocations: 53.32 MB / 432.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006041/0.2209, allocations: 4.513 MB / 436.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.2235, allocations: 1.582 MB / 438.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.2238, allocations: 12 kB / 438.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.2241, allocations: 138.7 kB / 438.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.2247, allocations: 285.7 kB / 438.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.2255, allocations: 418 kB / 439 MB, free: 472 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.2267, allocations: 1.174 MB / 440.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.227, allocations: 181.8 kB / 440.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006456/0.2277, allocations: 0.5024 MB / 440.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00069/0.2284, allocations: 0.5332 MB / 441.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.2285, allocations: 96 kB / 441.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.2288, allocations: 171.9 kB / 441.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.2291, allocations: 243.2 kB / 441.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.2295, allocations: 457.9 kB / 442.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.2307, allocations: 1.138 MB / 443.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2307, allocations: 0 / 443.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2307, allocations: 0 / 443.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2307, allocations: 0 / 443.5 MB, free: 11.96 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003665/0.2344, allocations: 1.471 MB / 444.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2344, allocations: 8.031 kB / 444.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005326/0.235, allocations: 120.3 kB / 445 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/0.2357, allocations: 477.8 kB / 445.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.2357, allocations: 58.38 kB / 445.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.2359, allocations: 80.05 kB / 445.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.2376, allocations: 0.7959 MB / 446.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.2376, allocations: 7.938 kB / 446.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.2377, allocations: 31.94 kB / 446.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2377, allocations: 16 kB / 446.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.2399, allocations: 0.8431 MB / 447.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004608/0.2445, allocations: 2.405 MB / 449.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.246, allocations: 0.6852 MB / 450.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/0.247, allocations: 416.3 kB / 450.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.699e-05/0.2471, allocations: 16.92 kB / 450.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.2483, allocations: 0.54 MB / 451.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.695e-06/0.2483, allocations: 0 / 451.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01175/0.26, allocations: 4.171 MB / 455.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.2601, allocations: 60.41 kB / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.2605, allocations: 425.9 kB / 456 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.2606, allocations: 53.7 kB / 456.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.2609, allocations: 285.5 kB / 456.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.2612, allocations: 396.7 kB / 456.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.2615, allocations: 194.8 kB / 457 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.2617, allocations: 370.8 kB / 457.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.2627, allocations: 418.4 kB / 457.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.2638, allocations: 0.5149 MB / 458.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.2656, allocations: 0.7362 MB / 459 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2656, allocations: 8 kB / 459 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003203/0.2688, allocations: 1.288 MB / 460.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2688, allocations: 4 kB / 460.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.2688, allocations: 8 kB / 460.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.2699, allocations: 0.5255 MB / 460.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/0.2708, allocations: 191.8 kB / 461 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.2753, allocations: 3.417 MB / 464.4 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.2765, allocations: 179.8 kB / 464.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.909e-05/0.2766, allocations: 35.98 kB / 464.6 MB, free: 6.094 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,massWithStopAndFriction.stopped,massWithStopAndFriction.mode,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.locked,massWithStopAndFriction.startBackward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,elastoGap.contact,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003714/0.277, allocations: 224.8 kB / 464.8 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.2771, allocations: 83.45 kB / 464.9 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.2773, allocations: 103.2 kB / 465 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.2774, allocations: 7.984 kB / 465 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2774, allocations: 4 kB / 465 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.2777, allocations: 240.5 kB / 465.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.2779, allocations: 28 kB / 465.3 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.2793, allocations: 199.7 kB / 465.5 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/0.2797, allocations: 168.7 kB / 465.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004153/0.2838, allocations: 1.3 MB / 467 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00333/0.2872, allocations: 1.572 MB / 468.5 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009756/0.2881, allocations: 423.7 kB / 468.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.2885, allocations: 287.1 kB / 469.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of Backend: time 3.3e-07/0.2885, allocations: 192 / 469.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003927/0.2924, allocations: 1.247 MB / 470.5 MB, free: 404 kB / 366.1 MB Notification: Performance of SimCode: time 0.00294/0.2953, allocations: 2.224 MB / 472.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Templates: time 0.02879/0.3241, allocations: 17.85 MB / 490.5 MB, free: 12.34 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.838070841971785] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper.s_rel', 'damper.v_rel', 'massWithStopAndFriction.s', 'massWithStopAndFriction.v', 'springDamper.s_rel', 'springDamper.v_rel', 'springDamper1.s_rel', 'springDamper1.v_rel', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'massWithStopAndFriction.mode', 'massWithStopAndFriction.startBackward', 'massWithStopAndFriction.startForward', 'supportFriction.mode', 'supportFriction.startBackward', 'supportFriction.startForward'] 0.33212070213630795 0.34609437000000004 0.112405875 Calling exit ...