Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 212.8 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 51.92 kB / 378.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2428, allocations: 53.35 MB / 431.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00294/0.2458, allocations: 1.602 MB / 433.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.2466, allocations: 466.8 kB / 433.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.2467, allocations: 0 / 433.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.2467, allocations: 7.875 kB / 433.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.2468, allocations: 15.88 kB / 433.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.247, allocations: 27.97 kB / 434 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.2471, allocations: 67.66 kB / 434 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2473, allocations: 36.19 kB / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2474, allocations: 43.8 kB / 434.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.2475, allocations: 23.86 kB / 434.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.2475, allocations: 8 kB / 434.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-05/0.2475, allocations: 11.98 kB / 434.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.2476, allocations: 15.92 kB / 434.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.2476, allocations: 27.86 kB / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2477, allocations: 68.78 kB / 434.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2477, allocations: 0 / 434.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2477, allocations: 4 kB / 434.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.2478, allocations: 0 / 434.3 MB, free: 4.238 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.0005167/0.2483, allocations: 313.8 kB / 434.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2483, allocations: 8.031 kB / 434.6 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.771e-05/0.2483, allocations: 4.188 kB / 434.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.2484, allocations: 38.73 kB / 434.6 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2485, allocations: 20.84 kB / 434.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.2487, allocations: 126.4 kB / 434.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2487, allocations: 8.375 kB / 434.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2488, allocations: 4.375 kB / 434.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.249, allocations: 129.4 kB / 434.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.249, allocations: 4 kB / 434.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.249, allocations: 0 / 434.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2491, allocations: 3.984 kB / 434.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2492, allocations: 59.89 kB / 435 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.2499, allocations: 0.5943 MB / 435.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.2501, allocations: 112.9 kB / 435.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2502, allocations: 56.39 kB / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.2503, allocations: 4 kB / 435.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.2503, allocations: 42.5 kB / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2503, allocations: 0 / 435.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005001/0.2508, allocations: 125.9 kB / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.2509, allocations: 158.2 kB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2511, allocations: 121.8 kB / 436.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2511, allocations: 29.7 kB / 436.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.2512, allocations: 96.03 kB / 436.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.2512, allocations: 19.89 kB / 436.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.2512, allocations: 17.72 kB / 436.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2514, allocations: 318.8 kB / 436.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.2515, allocations: 19.98 kB / 436.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.752e-05/0.2516, allocations: 60.31 kB / 436.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.2517, allocations: 76.19 kB / 436.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2517, allocations: 3.938 kB / 436.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002348/0.252, allocations: 101.5 kB / 436.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.252, allocations: 8 kB / 436.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.252, allocations: 128 / 436.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.252, allocations: 4 kB / 436.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.2521, allocations: 15.94 kB / 436.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2521, allocations: 7.922 kB / 436.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.2522, allocations: 4 kB / 436.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.2522, allocations: 8.156 kB / 436.9 MB, free: 1.238 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.0001123/0.2523, allocations: 117.8 kB / 437.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/0.2524, allocations: 15.94 kB / 437.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.2524, allocations: 15.58 kB / 437.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2525, allocations: 4 kB / 437.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2525, allocations: 3.938 kB / 437.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2525, allocations: 0 / 437.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.2528, allocations: 148.7 kB / 437.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2528, allocations: 4 kB / 437.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.2529, allocations: 15.92 kB / 437.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2529, allocations: 4 kB / 437.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2529, allocations: 8 kB / 437.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2529, allocations: 3.938 kB / 437.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.2529, allocations: 7.938 kB / 437.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.2533, allocations: 488.5 kB / 437.8 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.2533, allocations: 7.953 kB / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2534, allocations: 7.984 kB / 437.8 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.2536, allocations: 4 kB / 437.8 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.2536, allocations: 19.92 kB / 437.8 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2536, allocations: 4 kB / 437.8 MB, free: 308 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.2e-05/0.2537, allocations: 95.64 kB / 437.9 MB, free: 212 kB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2537, allocations: 0 / 437.9 MB, free: 212 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.2541, allocations: 8 kB / 437.9 MB, free: 204 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.0007697/0.2548, allocations: 1.022 MB / 438.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.2551, allocations: 59.89 kB / 439 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2551, allocations: 0 / 439 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.2552, allocations: 35.86 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.2557, allocations: 8 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.2577, allocations: 1.778 MB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2578, allocations: 75.33 kB / 440.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.2578, allocations: 8 kB / 440.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.2579, allocations: 23.42 kB / 440.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2579, allocations: 4 kB / 440.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.2793, allocations: 1.85 MB / 442.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.1, allocations: 4.062 kB / 442.8 MB, free: 11.31 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.402667883899994] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 11.253659663023427 11.267698805 11.017161588 Calling exit ...