Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002063/0.002063, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002427/0.002427, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 47.92 kB / 371.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2636, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002996/0.2666, allocations: 1.614 MB / 425 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007175/0.2673, allocations: 430.9 kB / 425.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.2673, allocations: 0 / 425.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.2674, allocations: 15.92 kB / 425.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.654e-05/0.2675, allocations: 7.875 kB / 425.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.2676, allocations: 19.92 kB / 425.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2677, allocations: 55.84 kB / 425.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2679, allocations: 43.83 kB / 425.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.042e-05/0.268, allocations: 23.88 kB / 425.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.268, allocations: 31.84 kB / 425.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.2681, allocations: 7.984 kB / 425.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.2681, allocations: 8 kB / 425.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.2681, allocations: 15.92 kB / 425.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.2681, allocations: 31.81 kB / 425.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2683, allocations: 68.84 kB / 425.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.2683, allocations: 0 / 425.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2683, allocations: 0 / 425.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.2683, allocations: 3.984 kB / 425.8 MB, free: 12.24 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.0004864/0.2688, allocations: 305.7 kB / 426.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2688, allocations: 15.95 kB / 426.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.92e-05/0.2688, allocations: 8.188 kB / 426.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.2689, allocations: 42.69 kB / 426.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.2689, allocations: 8.891 kB / 426.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.269, allocations: 110.5 kB / 426.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.269, allocations: 7.938 kB / 426.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.269, allocations: 11.94 kB / 426.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.2693, allocations: 117.9 kB / 426.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2693, allocations: 0 / 426.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2693, allocations: 3.984 kB / 426.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2693, allocations: 4 kB / 426.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.2695, allocations: 59.89 kB / 426.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.2702, allocations: 0.6059 MB / 427.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.2704, allocations: 121 kB / 427.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2705, allocations: 48.34 kB / 427.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.2705, allocations: 7.984 kB / 427.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.2705, allocations: 42.5 kB / 427.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.2705, allocations: 0 / 427.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004666/0.271, allocations: 125.4 kB / 427.4 MB, free: 10.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.2711, allocations: 158.8 kB / 427.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2712, allocations: 117.8 kB / 427.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2713, allocations: 29.69 kB / 427.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.2713, allocations: 92.09 kB / 427.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.2713, allocations: 19.8 kB / 427.8 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.2714, allocations: 25.7 kB / 427.8 MB, free: 9.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2715, allocations: 314.8 kB / 428.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.2716, allocations: 31.91 kB / 428.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2717, allocations: 48.28 kB / 428.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.2719, allocations: 84.14 kB / 428.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2719, allocations: 0 / 428.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002383/0.2721, allocations: 93.53 kB / 428.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2722, allocations: 8 kB / 428.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.2722, allocations: 8.219 kB / 428.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2722, allocations: 0 / 428.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2723, allocations: 19.98 kB / 428.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2723, allocations: 0 / 428.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.2723, allocations: 11.94 kB / 428.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2724, allocations: 4 kB / 428.4 MB, free: 9.25 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.0001068/0.2725, allocations: 117.8 kB / 428.6 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/0.2725, allocations: 4 kB / 428.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.2726, allocations: 23.55 kB / 428.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2726, allocations: 0 / 428.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2726, allocations: 4 kB / 428.6 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2726, allocations: 3.938 kB / 428.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.273, allocations: 160.7 kB / 428.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.273, allocations: 3.938 kB / 428.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.273, allocations: 15.98 kB / 428.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.273, allocations: 0 / 428.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2731, allocations: 3.938 kB / 428.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2731, allocations: 4 kB / 428.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2731, allocations: 0 / 428.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.2734, allocations: 488.6 kB / 429.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.2734, allocations: 15.89 kB / 429.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2735, allocations: 7.938 kB / 429.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2737, allocations: 11.98 kB / 429.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2737, allocations: 7.984 kB / 429.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2737, allocations: 4 kB / 429.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.2738, allocations: 91.66 kB / 429.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2738, allocations: 0 / 429.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.2741, allocations: 12 kB / 429.4 MB, free: 8.215 MB / 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.0007457/0.2749, allocations: 1.018 MB / 430.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.2751, allocations: 63.83 kB / 430.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2751, allocations: 4 kB / 430.5 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.2752, allocations: 31.92 kB / 430.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.2757, allocations: 8 kB / 430.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/0.2764, allocations: 236.5 kB / 430.8 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.2767, allocations: 0.7 MB / 431.5 MB, free: 6.059 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.2767, allocations: 4 kB / 431.5 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.2768, allocations: 23.42 kB / 431.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2768, allocations: 0 / 431.5 MB, free: 6.031 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.2984, allocations: 1.825 MB / 433.3 MB, free: 4.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.95, allocations: 10.41 kB / 433.3 MB, free: 4.324 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.29291400098009] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 11.109479837003164 11.128741595 10.856874463 Calling exit ...