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.001148/0.001148, allocations: 89.44 kB / 16.65 MB, free: 6.598 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.001443/0.001444, allocations: 177 kB / 17.56 MB, free: 6.203 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.684/1.684, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004821/0.0004822, allocations: 16.52 kB / 280.7 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 47.59 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002541/0.1278, allocations: 1.528 MB / 329.8 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1295, allocations: 0.921 MB / 330.8 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1296, allocations: 3.938 kB / 330.8 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.1303, allocations: 147.7 kB / 330.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1306, allocations: 119.6 kB / 331 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1311, allocations: 139.7 kB / 331.2 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1314, allocations: 207.4 kB / 331.4 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1315, allocations: 25.53 kB / 331.4 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1316, allocations: 75.62 kB / 331.5 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1318, allocations: 75.67 kB / 331.5 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1318, allocations: 4 kB / 331.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.132, allocations: 43.92 kB / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.1321, allocations: 51.81 kB / 331.6 MB, free: 436 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1322, allocations: 89.25 kB / 331.7 MB, free: 340 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.1325, allocations: 207.5 kB / 331.9 MB, free: 132 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1325, allocations: 0 / 331.9 MB, free: 132 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1325, allocations: 3.938 kB / 331.9 MB, free: 128 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1325, allocations: 0 / 331.9 MB, free: 128 kB / 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.001044/0.1336, allocations: 0.5042 MB / 332.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.1336, allocations: 12.03 kB / 332.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.1337, allocations: 16.75 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.1341, allocations: 254.9 kB / 332.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.1342, allocations: 12.31 kB / 332.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1342, allocations: 8.125 kB / 332.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.1345, allocations: 125.9 kB / 332.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1345, allocations: 0 / 332.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1345, allocations: 0 / 332.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1346, allocations: 0 / 332.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1347, allocations: 51.91 kB / 332.9 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.1355, allocations: 0.6065 MB / 333.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1358, allocations: 131.9 kB / 333.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.136, allocations: 50.56 kB / 333.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.1361, allocations: 0 / 333.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.1363, allocations: 129.8 kB / 333.8 MB, free: 14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.1364, allocations: 0 / 333.8 MB, free: 14 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004955/0.1369, allocations: 177.6 kB / 334 MB, free: 13.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.137, allocations: 132.5 kB / 334.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.1374, allocations: 288.8 kB / 334.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1374, allocations: 33.83 kB / 334.4 MB, free: 13.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1375, allocations: 128.3 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1376, allocations: 27.72 kB / 334.6 MB, free: 13.17 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1376, allocations: 21.7 kB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.1379, allocations: 330.8 kB / 334.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.138, allocations: 35.98 kB / 335 MB, free: 12.78 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1381, allocations: 85.64 kB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1383, allocations: 96.22 kB / 335.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1383, allocations: 0 / 335.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000282/0.1386, allocations: 153.3 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1387, allocations: 4 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1387, allocations: 0 / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.1387, allocations: 4 kB / 335.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1388, allocations: 15.98 kB / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1388, allocations: 0 / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1389, allocations: 35.86 kB / 335.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.139, allocations: 4 kB / 335.4 MB, free: 12.35 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.0001989/0.1392, allocations: 153.4 kB / 335.5 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1392, allocations: 15.81 kB / 335.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.1393, allocations: 25.7 kB / 335.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1393, allocations: 8.422 kB / 335.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1393, allocations: 0 / 335.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1393, allocations: 3.938 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.1396, allocations: 249.5 kB / 335.8 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1397, allocations: 4 kB / 335.8 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.1397, allocations: 11.94 kB / 335.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1397, allocations: 3.938 kB / 335.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1397, allocations: 4 kB / 335.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1397, allocations: 0 / 335.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1397, allocations: 0 / 335.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1401, allocations: 182.5 kB / 336 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.1402, allocations: 100.9 kB / 336.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.1402, allocations: 0 / 336.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1403, allocations: 15.98 kB / 336.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.1404, allocations: 23.84 kB / 336.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1404, allocations: 4 kB / 336.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.1407, allocations: 220.5 kB / 336.4 MB, free: 11.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1407, allocations: 0 / 336.4 MB, free: 11.24 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1409, allocations: 35.91 kB / 336.4 MB, free: 11.21 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.001136/0.1421, allocations: 420.9 kB / 336.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1425, allocations: 87.91 kB / 336.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1425, allocations: 4.188 kB / 336.9 MB, free: 10.71 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1426, allocations: 59.91 kB / 336.9 MB, free: 10.65 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.143, allocations: 36.41 kB / 337 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.1438, allocations: 388.1 kB / 337.4 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.1442, allocations: 0.7361 MB / 338.1 MB, free: 9.441 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.923e-05/0.1443, allocations: 25.53 kB / 338.1 MB, free: 9.418 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.1444, allocations: 19.44 kB / 338.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1444, allocations: 0 / 338.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of Templates: time 0.006979/0.1514, allocations: 2.534 MB / 340.7 MB, free: 6.863 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)