Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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 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.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001172, allocations: 112.7 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001267, allocations: 183 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 47.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2713, allocations: 49.43 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002634/0.274, allocations: 1.501 MB / 402.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004659/0.2745, allocations: 143.5 kB / 403 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.698e-05/0.2746, allocations: 4 kB / 403 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.748e-05/0.2747, allocations: 7.938 kB / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.2748, allocations: 7.922 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.2751, allocations: 35.91 kB / 403.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.563e-05/0.2752, allocations: 35.86 kB / 403.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2753, allocations: 19.92 kB / 403.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.2753, allocations: 11.94 kB / 403.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.048e-05/0.2754, allocations: 11.92 kB / 403.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2754, allocations: 0 / 403.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.2754, allocations: 4 kB / 403.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.2755, allocations: 23.86 kB / 403.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.2755, allocations: 23.86 kB / 403.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.2756, allocations: 43.83 kB / 403.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2756, allocations: 3.938 kB / 403.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2757, allocations: 0 / 403.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.2757, allocations: 0 / 403.3 MB, free: 6.969 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004049/0.2761, allocations: 363.5 kB / 403.6 MB, free: 6.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2761, allocations: 8.031 kB / 403.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2762, allocations: 8.844 kB / 403.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.2764, allocations: 200.1 kB / 403.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2764, allocations: 8.312 kB / 403.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.2764, allocations: 384 / 403.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.2767, allocations: 109.6 kB / 404 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2767, allocations: 4.188 kB / 404 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2767, allocations: 7.938 kB / 404 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2767, allocations: 0 / 404 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.2768, allocations: 19.98 kB / 404 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.2771, allocations: 261.8 kB / 404.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.2773, allocations: 134.2 kB / 404.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.2774, allocations: 33.7 kB / 404.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2774, allocations: 4 kB / 404.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2774, allocations: 30.56 kB / 404.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.2774, allocations: 0 / 404.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002284/0.2777, allocations: 73.53 kB / 404.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.2777, allocations: 81.09 kB / 404.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2778, allocations: 129.8 kB / 404.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2779, allocations: 29.7 kB / 404.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.2779, allocations: 84.14 kB / 404.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.2779, allocations: 0 / 404.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.278, allocations: 25.56 kB / 404.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2781, allocations: 323 kB / 405.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.217e-05/0.2781, allocations: 7.938 kB / 405.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.2782, allocations: 31.42 kB / 405.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.2782, allocations: 43.38 kB / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2782, allocations: 0 / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.2784, allocations: 69.48 kB / 405.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2784, allocations: 4 kB / 405.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2784, allocations: 0 / 405.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2784, allocations: 4 kB / 405.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.036e-05/0.2784, allocations: 0 / 405.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2784, allocations: 4 kB / 405.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/0.2785, allocations: 8.125 kB / 405.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.2785, allocations: 4 kB / 405.3 MB, free: 4.605 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.y,assignClock.y,assignClock.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.97e-05/0.2786, allocations: 121.8 kB / 405.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.2786, allocations: 11.84 kB / 405.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.2787, allocations: 3.906 kB / 405.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2787, allocations: 4 kB / 405.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2787, allocations: 0 / 405.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.2787, allocations: 96.94 kB / 405.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2788, allocations: 0 / 405.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.2788, allocations: 8 kB / 405.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.2789, allocations: 3.984 kB / 405.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001606/0.279, allocations: 212.1 kB / 405.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001907/0.2792, allocations: 314.3 kB / 406.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.521e-05/0.2793, allocations: 20.05 kB / 406.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.2793, allocations: 102.8 kB / 406.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Backend: time 4.51e-07/0.2794, allocations: 0 / 406.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.2798, allocations: 94.33 kB / 406.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005161/0.2803, allocations: 0.5921 MB / 406.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Templates: time 0.002606/0.2829, allocations: 0.4926 MB / 407.4 MB, free: 2.438 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1)