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.001529/0.001529, allocations: 112.2 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.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.001652/0.001652, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.001469/0.001469, allocations: 55.91 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2252, allocations: 53.36 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002891/0.2281, allocations: 1.636 MB / 433.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009305/0.229, allocations: 498.7 kB / 434 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.2291, allocations: 4 kB / 434 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.2292, allocations: 7.875 kB / 434 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.2292, allocations: 11.86 kB / 434 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.2295, allocations: 39.89 kB / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2296, allocations: 63.78 kB / 434.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2298, allocations: 32.16 kB / 434.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.23, allocations: 39.84 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.23, allocations: 31.84 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.2301, allocations: 4 kB / 434.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.023e-05/0.2301, allocations: 8 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.2301, allocations: 11.94 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.2302, allocations: 31.8 kB / 434.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2303, allocations: 80.72 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2303, allocations: 0 / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2303, allocations: 0 / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2303, allocations: 4 kB / 434.4 MB, free: 4.367 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.0005143/0.2309, allocations: 317.7 kB / 434.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2309, allocations: 8.031 kB / 434.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.2309, allocations: 4.188 kB / 434.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.2309, allocations: 38.73 kB / 434.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.2311, allocations: 20.88 kB / 434.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.2313, allocations: 122.4 kB / 434.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2313, allocations: 8.375 kB / 434.9 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.2313, allocations: 4.375 kB / 434.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.2316, allocations: 117.8 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2316, allocations: 7.938 kB / 435 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2316, allocations: 4 kB / 435 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2316, allocations: 8 kB / 435 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.2318, allocations: 55.89 kB / 435.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.2325, allocations: 0.6059 MB / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.2326, allocations: 109 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.2328, allocations: 56.39 kB / 435.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.2328, allocations: 3.938 kB / 435.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2328, allocations: 38.56 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2328, allocations: 4 kB / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004644/0.2333, allocations: 117.5 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.2334, allocations: 166.1 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2335, allocations: 126.4 kB / 436.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2335, allocations: 29.7 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.2336, allocations: 104 kB / 436.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2336, allocations: 15.91 kB / 436.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.2337, allocations: 17.72 kB / 436.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2338, allocations: 322.8 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.2339, allocations: 15.98 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.234, allocations: 56.27 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2342, allocations: 80.2 kB / 436.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2342, allocations: 0 / 436.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002243/0.2344, allocations: 101.5 kB / 437 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2344, allocations: 4 kB / 437 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2344, allocations: 7.984 kB / 437 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2345, allocations: 3.984 kB / 437 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.2345, allocations: 12.14 kB / 437.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.2346, allocations: 11.94 kB / 437.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.2346, allocations: 11.89 kB / 437.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2346, allocations: 4 kB / 437.1 MB, free: 1.348 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.0001042/0.2347, allocations: 129.7 kB / 437.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.2348, allocations: 7.938 kB / 437.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.2348, allocations: 11.58 kB / 437.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2348, allocations: 4 kB / 437.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2349, allocations: 3.938 kB / 437.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2349, allocations: 8 kB / 437.2 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.2352, allocations: 156.7 kB / 437.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2352, allocations: 0 / 437.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.2353, allocations: 11.98 kB / 437.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2353, allocations: 4 kB / 437.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2353, allocations: 0 / 437.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.2353, allocations: 8.125 kB / 437.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.2353, allocations: 7.875 kB / 437.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.2357, allocations: 484.6 kB / 437.9 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.2357, allocations: 11.94 kB / 437.9 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2358, allocations: 4 kB / 437.9 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.236, allocations: 12 kB / 437.9 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.236, allocations: 11.92 kB / 437.9 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.236, allocations: 3.938 kB / 437.9 MB, free: 420 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.372e-05/0.2361, allocations: 95.27 kB / 438 MB, free: 324 kB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2361, allocations: 0 / 438 MB, free: 324 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003687/0.2364, allocations: 12 kB / 438.1 MB, free: 312 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.0006687/0.2371, allocations: 1.022 MB / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2373, allocations: 59.91 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2373, allocations: 0 / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2374, allocations: 35.91 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.2379, allocations: 8 kB / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.2398, allocations: 1.766 MB / 440.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.2401, allocations: 0.6991 MB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.261e-05/0.2402, allocations: 7.938 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.2402, allocations: 23.42 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2402, allocations: 0 / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.2614, allocations: 1.849 MB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.92, allocations: 7.734 kB / 443.5 MB, free: 10.8 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.203099301957991] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 11.082292784005404 11.097305752 10.863927158 Calling exit ...