Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02656/0.02656, allocations: 106.1 kB / 17.47 MB, free: 4.84 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 195.8 kB / 20.63 MB, free: 1.695 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 207.6 MB / 231.2 MB, free: 3.395 MB / 174.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 59.89 kB / 343 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2623, allocations: 49.12 MB / 392.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.005063/0.2673, allocations: 1.823 MB / 393.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.2691, allocations: 0.9719 MB / 394.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.2692, allocations: 0 / 394.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.2698, allocations: 167.5 kB / 395 MB, free: 4.469 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.2702, allocations: 123.5 kB / 395.2 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2707, allocations: 159.5 kB / 395.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.2709, allocations: 199.4 kB / 395.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.2713, allocations: 21.48 kB / 395.5 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2715, allocations: 95.61 kB / 395.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.2716, allocations: 87.66 kB / 395.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.2716, allocations: 8 kB / 395.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2717, allocations: 59.91 kB / 395.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.2718, allocations: 47.83 kB / 395.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.2719, allocations: 71.55 kB / 395.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.2725, allocations: 227 kB / 396.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2725, allocations: 0 / 396.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2725, allocations: 0 / 396.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001716/0.2727, allocations: 0 / 396.1 MB, free: 3.391 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.003218/0.2759, allocations: 0.531 MB / 396.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001427/0.2761, allocations: 8.031 kB / 396.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.2763, allocations: 24.8 kB / 396.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.2768, allocations: 263 kB / 396.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.2768, allocations: 16.25 kB / 397 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.277, allocations: 8.125 kB / 397 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.2775, allocations: 109.9 kB / 397.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002888/0.2778, allocations: 0 / 397.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2778, allocations: 8 kB / 397.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2778, allocations: 4 kB / 397.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.278, allocations: 51.91 kB / 397.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.2789, allocations: 0.5987 MB / 397.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.2793, allocations: 127.9 kB / 397.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.2794, allocations: 42.56 kB / 397.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.2796, allocations: 0 / 397.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.2798, allocations: 125.9 kB / 398 MB, free: 1.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.2798, allocations: 0 / 398 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001193/0.281, allocations: 177.4 kB / 398.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.2811, allocations: 140.6 kB / 398.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.2815, allocations: 285 kB / 398.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2815, allocations: 29.7 kB / 398.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.2816, allocations: 124.3 kB / 398.8 MB, free: 468 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.2817, allocations: 27.78 kB / 398.8 MB, free: 440 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.2817, allocations: 37.7 kB / 398.8 MB, free: 396 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2819, allocations: 330.8 kB / 399.1 MB, free: 56 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.2819, allocations: 27.98 kB / 399.2 MB, free: 28 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.2821, allocations: 89.98 kB / 399.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.2823, allocations: 104.7 kB / 399.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.2823, allocations: 0 / 399.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002726/0.2825, allocations: 137.4 kB / 399.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.2826, allocations: 4 kB / 399.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2826, allocations: 4 kB / 399.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.2827, allocations: 3.938 kB / 399.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.2828, allocations: 23.92 kB / 399.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2828, allocations: 4 kB / 399.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.2829, allocations: 27.91 kB / 399.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.2829, allocations: 4 kB / 399.6 MB, free: 15.59 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: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.283, allocations: 145.7 kB / 399.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.2831, allocations: 19.91 kB / 399.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.2831, allocations: 25.7 kB / 399.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2831, allocations: 0 / 399.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2831, allocations: 0 / 399.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.2832, allocations: 7.938 kB / 399.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2834, allocations: 241.5 kB / 400 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2834, allocations: 4 kB / 400 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.2834, allocations: 7.938 kB / 400 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2834, allocations: 8.062 kB / 400 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2834, allocations: 7.984 kB / 400 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2834, allocations: 4 kB / 400 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2834, allocations: 0 / 400 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.2837, allocations: 182.5 kB / 400.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.2838, allocations: 97 kB / 400.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.2838, allocations: 4 kB / 400.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.2839, allocations: 19.92 kB / 400.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.2841, allocations: 11.92 kB / 400.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.2841, allocations: 8 kB / 400.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.2843, allocations: 212.5 kB / 400.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2843, allocations: 0 / 400.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.2846, allocations: 39.92 kB / 400.6 MB, free: 14.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003144/0.2877, allocations: 420.4 kB / 401 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.02448/0.3122, allocations: 95.83 kB / 401.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3122, allocations: 3.938 kB / 401.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3123, allocations: 40.23 kB / 401.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3127, allocations: 52.38 kB / 401.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.3133, allocations: 352.2 kB / 401.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3137, allocations: 0.7358 MB / 402.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.189e-05/0.3138, allocations: 17.55 kB / 402.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.3138, allocations: 19.44 kB / 402.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3138, allocations: 0 / 402.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Templates: time 0.1768/0.4906, allocations: 2.787 MB / 405.1 MB, free: 9.891 MB / 334.1 MB [Timeout remaining time 659] make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] [Calling os._exit(0)]