Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.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.001569/0.001569, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] 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.00171/0.00171, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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 1.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 7.805 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+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 59.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2071, allocations: 53.36 MB / 432.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005836/0.2129, allocations: 4.073 MB / 436.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2155, allocations: 1.52 MB / 437.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.2157, allocations: 15.88 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.2161, allocations: 138.7 kB / 438.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.2166, allocations: 277.7 kB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.2175, allocations: 438.4 kB / 438.8 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2186, allocations: 1.17 MB / 439.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.2189, allocations: 189.2 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006439/0.2196, allocations: 0.5102 MB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006431/0.2202, allocations: 0.5371 MB / 441.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.2204, allocations: 96 kB / 441.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.2207, allocations: 176 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.221, allocations: 243.2 kB / 441.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.2214, allocations: 394.3 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.2226, allocations: 1.136 MB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2226, allocations: 3.938 kB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2226, allocations: 0 / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2226, allocations: 4 kB / 443.2 MB, free: 11.85 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.003508/0.2261, allocations: 1.403 MB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2261, allocations: 8.031 kB / 444.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.2267, allocations: 116.3 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.2274, allocations: 404.1 kB / 445.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.2275, allocations: 62.38 kB / 445.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.2276, allocations: 80.02 kB / 445.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.2295, allocations: 0.7959 MB / 446.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.2295, allocations: 4 kB / 446.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.379e-05/0.2296, allocations: 24 kB / 446.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.2296, allocations: 23.98 kB / 446.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.2318, allocations: 0.8315 MB / 446.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.2361, allocations: 1.873 MB / 448.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.2377, allocations: 0.6933 MB / 449.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009886/0.2387, allocations: 416.3 kB / 449.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.2388, allocations: 16.98 kB / 449.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.24, allocations: 0.5361 MB / 450.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.675e-06/0.24, allocations: 0 / 450.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01165/0.2517, allocations: 3.802 MB / 454.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.2517, allocations: 64.41 kB / 454.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.2522, allocations: 401.8 kB / 454.7 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.2523, allocations: 53.7 kB / 454.8 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.2525, allocations: 293.6 kB / 455.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.2529, allocations: 388.7 kB / 455.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.2532, allocations: 190.9 kB / 455.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.2535, allocations: 370.8 kB / 456 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.2545, allocations: 410.4 kB / 456.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.2556, allocations: 0.515 MB / 456.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.2573, allocations: 0.744 MB / 457.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2573, allocations: 0 / 457.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003247/0.2606, allocations: 1.292 MB / 458.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2606, allocations: 4 kB / 458.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2606, allocations: 0 / 458.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.2618, allocations: 0.5332 MB / 459.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/0.2626, allocations: 203.7 kB / 459.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/0.267, allocations: 3.265 MB / 462.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.2681, allocations: 175.9 kB / 463.1 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/0.2682, allocations: 35.98 kB / 463.2 MB, free: 7.438 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.0003483/0.2686, allocations: 225.7 kB / 463.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2687, allocations: 79.52 kB / 463.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.269, allocations: 103.1 kB / 463.6 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.269, allocations: 7.922 kB / 463.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.269, allocations: 0 / 463.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.2694, allocations: 159.4 kB / 463.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.2695, allocations: 31.98 kB / 463.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.2708, allocations: 199.9 kB / 463.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/0.2712, allocations: 180.7 kB / 464.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004079/0.2753, allocations: 1.289 MB / 465.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003353/0.2786, allocations: 1.568 MB / 467 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009948/0.2796, allocations: 419.8 kB / 467.4 MB, free: 3.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003235/0.28, allocations: 271.1 kB / 467.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of Backend: time 4.51e-07/0.28, allocations: 0 / 467.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004132/0.2841, allocations: 1.281 MB / 468.9 MB, free: 1.848 MB / 366.1 MB Notification: Performance of SimCode: time 0.002949/0.287, allocations: 2.226 MB / 471.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of Templates: time 0.02894/0.316, allocations: 18.26 MB / 489.4 MB, free: 13.44 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.898573009006213] 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.32407697300368454 0.338704042 0.113053042 Calling exit ...