Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.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 3.2.3+maint.om/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 113.2 kB / 16.63 MB, free: 6.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.001518/0.001518, allocations: 189.9 kB / 17.55 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB 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.001341/0.001342, allocations: 51.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1245, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.005171/0.1298, allocations: 1.882 MB / 328 MB, free: 2.898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1315, allocations: 0.9364 MB / 328.9 MB, free: 1.953 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.1316, allocations: 4 kB / 328.9 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.1326, allocations: 155.6 kB / 329.1 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.1329, allocations: 115.7 kB / 329.2 MB, free: 1.684 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.1334, allocations: 135.8 kB / 329.3 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1337, allocations: 215.3 kB / 329.6 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1339, allocations: 25.55 kB / 329.6 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.134, allocations: 79.64 kB / 329.7 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1341, allocations: 91.66 kB / 329.7 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1341, allocations: 12 kB / 329.8 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1343, allocations: 43.98 kB / 329.8 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.1344, allocations: 51.77 kB / 329.9 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.079e-05/0.1344, allocations: 79.53 kB / 329.9 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1348, allocations: 211.6 kB / 330.1 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1348, allocations: 4 kB / 330.1 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1348, allocations: 0 / 330.1 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1348, allocations: 4 kB / 330.1 MB, free: 0.75 MB / 270.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.0009286/0.1357, allocations: 0.5157 MB / 330.7 MB, free: 184 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1358, allocations: 16.02 kB / 330.7 MB, free: 168 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.094e-05/0.1358, allocations: 20.66 kB / 330.7 MB, free: 148 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.1362, allocations: 254.8 kB / 330.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.1362, allocations: 8.375 kB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1363, allocations: 8.125 kB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1366, allocations: 121.9 kB / 331.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1366, allocations: 0 / 331.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1366, allocations: 4 kB / 331.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1366, allocations: 4 kB / 331.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1368, allocations: 55.89 kB / 331.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007275/0.1375, allocations: 0.6104 MB / 331.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1378, allocations: 123.9 kB / 331.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1379, allocations: 50.5 kB / 331.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.138, allocations: 4.078 kB / 331.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.1382, allocations: 125.8 kB / 332.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.1382, allocations: 0 / 332.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004856/0.1387, allocations: 177.3 kB / 332.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1388, allocations: 128.5 kB / 332.3 MB, free: 14.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.1392, allocations: 288.9 kB / 332.6 MB, free: 13.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1392, allocations: 33.83 kB / 332.7 MB, free: 13.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1393, allocations: 124.3 kB / 332.8 MB, free: 13.81 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.1394, allocations: 23.66 kB / 332.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.1394, allocations: 37.7 kB / 332.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1396, allocations: 338.8 kB / 333.2 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/0.1397, allocations: 27.98 kB / 333.2 MB, free: 13.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1398, allocations: 85.98 kB / 333.3 MB, free: 13.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.14, allocations: 92.16 kB / 333.4 MB, free: 13.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.14, allocations: 0 / 333.4 MB, free: 13.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000253/0.1403, allocations: 146 kB / 333.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1403, allocations: 8 kB / 333.5 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1403, allocations: 0 / 333.5 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1403, allocations: 7.984 kB / 333.5 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.1404, allocations: 15.94 kB / 333.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1404, allocations: 0 / 333.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1406, allocations: 19.92 kB / 333.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1406, allocations: 4 kB / 333.6 MB, free: 12.96 MB / 286.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.0001398/0.1407, allocations: 165.4 kB / 333.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1408, allocations: 19.72 kB / 333.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.1408, allocations: 29.64 kB / 333.8 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1408, allocations: 4 kB / 333.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1408, allocations: 0 / 333.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1409, allocations: 3.938 kB / 333.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1411, allocations: 241.5 kB / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1411, allocations: 0 / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.1411, allocations: 4 kB / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1412, allocations: 4 kB / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.1412, allocations: 4 kB / 334 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1412, allocations: 3.984 kB / 334 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1412, allocations: 0 / 334 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.1415, allocations: 178.4 kB / 334.2 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.1416, allocations: 96.92 kB / 334.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.1416, allocations: 8 kB / 334.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.1418, allocations: 7.984 kB / 334.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.1418, allocations: 19.92 kB / 334.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1419, allocations: 15.92 kB / 334.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.142, allocations: 208.5 kB / 334.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1421, allocations: 3.938 kB / 334.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1423, allocations: 36 kB / 334.6 MB, free: 11.83 MB / 286.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.001088/0.1434, allocations: 426.3 kB / 335 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1438, allocations: 87.91 kB / 335.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1438, allocations: 0 / 335.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1439, allocations: 55.91 kB / 335.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.1444, allocations: 53.03 kB / 335.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.1452, allocations: 388.7 kB / 335.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1455, allocations: 0.7357 MB / 336.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1456, allocations: 33.52 kB / 336.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.1457, allocations: 23.44 kB / 336.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1457, allocations: 0 / 336.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of Templates: time 0.00648/0.1522, allocations: 2.647 MB / 339 MB, free: 7.348 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1)