Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 175.8 kB / 16.78 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205 MB / 222.6 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006877/0.0006876, allocations: 102.3 kB / 270.5 MB, free: 8.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07014/0.07014, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 8 kB / 391.7 MB, free: 66.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07531/0.07569, allocations: 49.99 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.001532/0.07728, allocations: 1.215 MB / 442.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003453/0.07765, allocations: 139.6 kB / 443.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.07777, allocations: 7.938 kB / 443.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.016e-05/0.07788, allocations: 0 / 443.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.07808, allocations: 11.91 kB / 443.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.07846, allocations: 27.98 kB / 443.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.07859, allocations: 31.91 kB / 443.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.07873, allocations: 16 kB / 443.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.07878, allocations: 15.92 kB / 443.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.07883, allocations: 15.81 kB / 443.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.07886, allocations: 0 / 443.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.07889, allocations: 0 / 443.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.07896, allocations: 15.92 kB / 443.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.07901, allocations: 15.88 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.07913, allocations: 40.09 kB / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.07914, allocations: 0 / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.07915, allocations: 0 / 443.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.07917, allocations: 4 kB / 443.2 MB, free: 14.84 MB / 298.7 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.0004821/0.07966, allocations: 355.2 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.07972, allocations: 12.03 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.07977, allocations: 8.844 kB / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.07996, allocations: 184.1 kB / 443.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.07999, allocations: 4.375 kB / 443.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.08001, allocations: 4.375 kB / 443.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.08026, allocations: 121.5 kB / 443.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.08028, allocations: 192 / 443.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.0803, allocations: 7.922 kB / 443.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.08031, allocations: 0 / 443.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.08037, allocations: 19.98 kB / 444 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.08063, allocations: 273.6 kB / 444.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.08077, allocations: 134.2 kB / 444.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.08083, allocations: 21.78 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.08086, allocations: 7.938 kB / 444.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.08088, allocations: 38.56 kB / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.08089, allocations: 0 / 444.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002046/0.0811, allocations: 73.52 kB / 444.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.08114, allocations: 81.11 kB / 444.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.08123, allocations: 137.9 kB / 444.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.08125, allocations: 25.7 kB / 444.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.08129, allocations: 84.12 kB / 444.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-06/0.0813, allocations: 7.906 kB / 444.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.08133, allocations: 13.72 kB / 444.8 MB, free: 13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.08138, allocations: 310.8 kB / 445.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.08142, allocations: 15.98 kB / 445.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.08146, allocations: 27.44 kB / 445.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.08152, allocations: 43.36 kB / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.08153, allocations: 0 / 445.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.7e-05/0.08163, allocations: 73.56 kB / 445.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.08165, allocations: 4 kB / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.08166, allocations: 3.938 kB / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.08168, allocations: 4 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.099e-05/0.0817, allocations: 0 / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.08171, allocations: 3.984 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.08175, allocations: 7.984 kB / 445.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.08176, allocations: 4.125 kB / 445.3 MB, free: 12.47 MB / 298.7 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 (sample.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 5.763e-05/0.08182, allocations: 122.7 kB / 445.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.08186, allocations: 11.84 kB / 445.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.08189, allocations: 11.89 kB / 445.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.0819, allocations: 4 kB / 445.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.0819, allocations: 0 / 445.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.08194, allocations: 89 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.08196, allocations: 4 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.08202, allocations: 4 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.08206, allocations: 8 kB / 445.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001165/0.08218, allocations: 220.1 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001258/0.08232, allocations: 310.3 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.81e-05/0.08236, allocations: 20.02 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.08241, allocations: 99.27 kB / 446.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of Backend: time 2.9e-07/0.08242, allocations: 0 / 446.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.08279, allocations: 90.33 kB / 446.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of SimCode: time 0.0003731/0.08317, allocations: 0.6139 MB / 446.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of Templates: time 0.002106/0.08529, allocations: 454.1 kB / 447.3 MB, free: 10.33 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1)