Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, allocations: 109.4 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002621/0.002621, allocations: 221.3 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.401/1.401, allocations: 230.5 MB / 256.5 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.ShowLogicalSources,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_ShowLogicalSources",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.89 kB / 376.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2431, allocations: 53.32 MB / 429.5 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003346/0.2464, allocations: 1.868 MB / 431.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2484, allocations: 1.196 MB / 432.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.2485, allocations: 4 kB / 432.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006373/0.2492, allocations: 175.4 kB / 432.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.2496, allocations: 167.3 kB / 432.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.2499, allocations: 142.1 kB / 433.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.2502, allocations: 219.4 kB / 433.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.2503, allocations: 9.562 kB / 433.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.2504, allocations: 91.61 kB / 433.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2506, allocations: 95.59 kB / 433.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.2506, allocations: 12 kB / 433.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.2507, allocations: 55.91 kB / 433.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.2508, allocations: 51.83 kB / 433.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.2509, allocations: 75.53 kB / 433.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.2512, allocations: 239.4 kB / 433.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2512, allocations: 0 / 433.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2512, allocations: 0 / 433.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2512, allocations: 0 / 433.9 MB, free: 3.023 MB / 334.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.0008653/0.2521, allocations: 0.531 MB / 434.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2521, allocations: 8.031 kB / 434.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.2522, allocations: 42.73 kB / 434.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.2522, allocations: 24.78 kB / 434.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.2526, allocations: 271 kB / 434.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2526, allocations: 8.359 kB / 434.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.2526, allocations: 7.938 kB / 434.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2528, allocations: 110 kB / 434.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2528, allocations: 7.875 kB / 434.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2529, allocations: 4 kB / 434.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2529, allocations: 7.984 kB / 434.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.253, allocations: 39.98 kB / 434.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.2536, allocations: 0.6105 MB / 435.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.2539, allocations: 123.9 kB / 435.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.254, allocations: 46.56 kB / 435.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.254, allocations: 7.938 kB / 435.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.2543, allocations: 117.9 kB / 435.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.2543, allocations: 0 / 435.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004495/0.2547, allocations: 185.3 kB / 436 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.2548, allocations: 140.6 kB / 436.2 MB, free: 484 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.2551, allocations: 292.9 kB / 436.4 MB, free: 180 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.2551, allocations: 33.7 kB / 436.5 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2553, allocations: 124.3 kB / 436.6 MB, free: 12 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.2553, allocations: 27.94 kB / 436.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.2554, allocations: 37.7 kB / 436.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2555, allocations: 334.8 kB / 437 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.2556, allocations: 27.98 kB / 437 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.2557, allocations: 82 kB / 437.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.2559, allocations: 100.2 kB / 437.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2559, allocations: 0 / 437.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000283/0.2562, allocations: 141.4 kB / 437.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2562, allocations: 4 kB / 437.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2562, allocations: 0 / 437.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2563, allocations: 7.984 kB / 437.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.362e-05/0.2563, allocations: 19.94 kB / 437.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2563, allocations: 0.625 kB / 437.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2565, allocations: 23.77 kB / 437.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2565, allocations: 4 kB / 437.4 MB, free: 15.16 MB / 350.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.0001529/0.2566, allocations: 150.7 kB / 437.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.2567, allocations: 19.86 kB / 437.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.2569, allocations: 111.3 kB / 437.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2569, allocations: 4 kB / 437.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2569, allocations: 3.938 kB / 437.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2569, allocations: 0 / 437.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.2572, allocations: 249.6 kB / 437.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2572, allocations: 0 / 437.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.2572, allocations: 11.98 kB / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2572, allocations: 4 kB / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2572, allocations: 0 / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2572, allocations: 4 kB / 437.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2572, allocations: 11.81 kB / 438 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.2575, allocations: 182.6 kB / 438.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.2576, allocations: 100.9 kB / 438.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.2576, allocations: 4 kB / 438.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.2577, allocations: 11.98 kB / 438.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.2578, allocations: 15.92 kB / 438.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2578, allocations: 4 kB / 438.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.258, allocations: 216.5 kB / 438.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 8 kB / 438.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.2583, allocations: 39.98 kB / 438.5 MB, free: 13.92 MB / 350.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001912/0.2602, allocations: 1.018 MB / 439.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.2605, allocations: 95.83 kB / 439.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2605, allocations: 3.938 kB / 439.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2606, allocations: 47.92 kB / 439.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.261, allocations: 50.45 kB / 439.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.2636, allocations: 2.198 MB / 441.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.264, allocations: 0.7358 MB / 442.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.072e-05/0.2641, allocations: 29.53 kB / 442.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-05/0.2642, allocations: 63.34 kB / 442.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2642, allocations: 4 kB / 442.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.2924, allocations: 5.229 MB / 448 MB, free: 4.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.198, allocations: 7.422 kB / 448 MB, free: 4.488 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_ShowLogicalSources_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_ShowLogicalSources.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.462986500002444] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 8.318250062002335 8.332950653 8.078466375 Calling exit ...