Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.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.001584/0.001584, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.001884/0.001884, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.BusUsage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage",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.002993/0.002993, allocations: 68.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2776, allocations: 53.38 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002806/0.2804, allocations: 1.63 MB / 433.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.2813, allocations: 494.7 kB / 434 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.2814, allocations: 3.938 kB / 434 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.2814, allocations: 7.938 kB / 434 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.2815, allocations: 23.78 kB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.2817, allocations: 31.97 kB / 434.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.2818, allocations: 63.72 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.282, allocations: 36 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2821, allocations: 35.86 kB / 434.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.2822, allocations: 31.78 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2822, allocations: 8 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.2822, allocations: 8 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2822, allocations: 11.94 kB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.2823, allocations: 31.84 kB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.2824, allocations: 73.97 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2824, allocations: 0 / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2824, allocations: 0 / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.2824, allocations: 4 kB / 434.4 MB, free: 4.375 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004769/0.2829, allocations: 306 kB / 434.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2829, allocations: 12.03 kB / 434.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.283, allocations: 38.73 kB / 434.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.2831, allocations: 24.83 kB / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.2833, allocations: 134.4 kB / 434.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2833, allocations: 384 / 434.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2834, allocations: 8.375 kB / 434.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.2836, allocations: 118.1 kB / 435 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2836, allocations: 3.938 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2836, allocations: 11.94 kB / 435 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2836, allocations: 0 / 435 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.2838, allocations: 59.89 kB / 435.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/0.2844, allocations: 0.6099 MB / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.2846, allocations: 108.9 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2847, allocations: 56.39 kB / 435.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.2848, allocations: 11.94 kB / 435.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.2848, allocations: 34.56 kB / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2848, allocations: 0 / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004353/0.2852, allocations: 125.4 kB / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.2853, allocations: 158.8 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2854, allocations: 130.1 kB / 436.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2854, allocations: 25.7 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.2855, allocations: 104 kB / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2855, allocations: 7.906 kB / 436.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.2856, allocations: 21.72 kB / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2857, allocations: 318.8 kB / 436.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.2858, allocations: 19.98 kB / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.617e-05/0.2859, allocations: 56.27 kB / 436.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.286, allocations: 80.2 kB / 436.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.286, allocations: 0 / 436.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002203/0.2863, allocations: 97.48 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2863, allocations: 4 kB / 437 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2863, allocations: 4 kB / 437 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2863, allocations: 0 / 437 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.2864, allocations: 20.08 kB / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2864, allocations: 7.938 kB / 437.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.534e-05/0.2865, allocations: 8 kB / 437.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2865, allocations: 4 kB / 437.1 MB, free: 1.363 MB / 334.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: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001077/0.2866, allocations: 121.8 kB / 437.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.2867, allocations: 7.953 kB / 437.2 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.2867, allocations: 19.52 kB / 437.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2867, allocations: 0 / 437.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2867, allocations: 11.94 kB / 437.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.2867, allocations: 0 / 437.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.2871, allocations: 156.7 kB / 437.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2871, allocations: 0 / 437.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.2872, allocations: 15.98 kB / 437.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2872, allocations: 0 / 437.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2872, allocations: 3.938 kB / 437.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2872, allocations: 4 kB / 437.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2872, allocations: 4.062 kB / 437.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.2875, allocations: 492.6 kB / 437.9 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.2876, allocations: 15.94 kB / 437.9 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2876, allocations: 4 kB / 437.9 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2878, allocations: 11.94 kB / 437.9 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.2878, allocations: 15.86 kB / 437.9 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.2878, allocations: 8 kB / 437.9 MB, free: 424 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.059e-05/0.2879, allocations: 95.31 kB / 438 MB, free: 328 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2879, allocations: 0 / 438 MB, free: 328 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.2883, allocations: 8 kB / 438 MB, free: 320 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0006614/0.2889, allocations: 1.022 MB / 439.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.2891, allocations: 59.84 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2891, allocations: 0 / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.2892, allocations: 35.91 kB / 439.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.2897, allocations: 8 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.2915, allocations: 1.762 MB / 440.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.2919, allocations: 0.6962 MB / 441.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.2919, allocations: 7.984 kB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.2919, allocations: 27.36 kB / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2919, allocations: 4 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.3156, allocations: 1.695 MB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.194, allocations: 15.42 kB / 443.4 MB, free: 10.88 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.62372871208936] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 8.268537499010563 8.294116662 8.006901354 Calling exit ...