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.001774/0.001774, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002481/0.002481, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001866/0.001866, allocations: 64.77 kB / 378.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2365, allocations: 53.38 MB / 431.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003264/0.2398, allocations: 1.864 MB / 433.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2418, allocations: 1.204 MB / 435 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2419, allocations: 7.938 kB / 435 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.2425, allocations: 175.5 kB / 435.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.2429, allocations: 159.4 kB / 435.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.2432, allocations: 158.8 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.2435, allocations: 215.4 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2436, allocations: 17.55 kB / 435.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.2438, allocations: 95.61 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2439, allocations: 87.61 kB / 435.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.2439, allocations: 8 kB / 435.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.2441, allocations: 67.89 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.2441, allocations: 51.83 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.2442, allocations: 75.53 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.2446, allocations: 225.3 kB / 436.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2446, allocations: 11.98 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2446, allocations: 0 / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2446, allocations: 0 / 436.3 MB, free: 2.539 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.000848/0.2454, allocations: 470.7 kB / 436.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2455, allocations: 8.031 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.2455, allocations: 42.73 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.2456, allocations: 20.8 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.2459, allocations: 213 kB / 437 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.2459, allocations: 8.375 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.2459, allocations: 7.938 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.2461, allocations: 109.9 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2461, allocations: 0 / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2461, allocations: 7.938 kB / 437.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2462, allocations: 8 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.2463, allocations: 43.97 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.2469, allocations: 0.5744 MB / 437.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.2472, allocations: 127.9 kB / 437.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2473, allocations: 50.56 kB / 438 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.2474, allocations: 4.062 kB / 438 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.2476, allocations: 129.8 kB / 438.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.2476, allocations: 0 / 438.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004394/0.248, allocations: 173.4 kB / 438.3 MB, free: 368 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.2481, allocations: 144.6 kB / 438.4 MB, free: 192 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.2485, allocations: 293.1 kB / 438.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2485, allocations: 29.7 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.2486, allocations: 128.3 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.2486, allocations: 27.75 kB / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.2487, allocations: 33.7 kB / 438.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2488, allocations: 338.8 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.2489, allocations: 27.98 kB / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.249, allocations: 78.98 kB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.2492, allocations: 100.2 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2492, allocations: 0 / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002781/0.2495, allocations: 142 kB / 439.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2495, allocations: 8 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2495, allocations: 0 / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2495, allocations: 4 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.2496, allocations: 19.92 kB / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2496, allocations: 64 / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2497, allocations: 31.95 kB / 439.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2498, allocations: 4 kB / 439.6 MB, free: 14.87 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.0001388/0.2499, allocations: 145.8 kB / 439.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.2499, allocations: 19.86 kB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.2502, allocations: 119.3 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2502, allocations: 4 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2502, allocations: 0 / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2502, allocations: 3.938 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.2504, allocations: 220.5 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2504, allocations: 0 / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.2504, allocations: 7.938 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2504, allocations: 4 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2505, allocations: 7.984 kB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.2505, allocations: 4 kB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2505, allocations: 0 / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.2508, allocations: 186.4 kB / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.2508, allocations: 23.84 kB / 440.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.2508, allocations: 3.984 kB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.2509, allocations: 15.98 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.251, allocations: 15.92 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.251, allocations: 4 kB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.2512, allocations: 216.5 kB / 440.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2512, allocations: 4 kB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.2515, allocations: 35.98 kB / 440.7 MB, free: 13.77 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.001937/0.2534, allocations: 1.031 MB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.2537, allocations: 91.78 kB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2537, allocations: 0 / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.2538, allocations: 48.28 kB / 441.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2542, allocations: 56.11 kB / 441.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.2568, allocations: 2.192 MB / 444.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.2572, allocations: 0.732 MB / 444.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.2573, allocations: 29.45 kB / 444.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.74e-05/0.2574, allocations: 55.42 kB / 444.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2574, allocations: 4 kB / 444.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.2872, allocations: 5.321 MB / 450.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.286, allocations: 17.03 kB / 450.2 MB, free: 4.227 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00199283 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.883590120822191] Failed to read output from testmodel.py, exit status != 0: ['time', 'table.y'] 8.43207593774423 8.459109763 8.209592799 Calling exit ...