Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001843/0.001843, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002443/0.002443, allocations: 210.1 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 59.91 kB / 378.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4229, allocations: 53.41 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003644/0.4265, allocations: 1.602 MB / 433.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.4274, allocations: 454.8 kB / 433.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.4274, allocations: 11.94 kB / 433.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.4275, allocations: 7.922 kB / 434 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.4276, allocations: 11.86 kB / 434 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.4278, allocations: 35.91 kB / 434 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.428, allocations: 63.78 kB / 434.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.4281, allocations: 43.92 kB / 434.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4283, allocations: 31.86 kB / 434.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.4283, allocations: 27.86 kB / 434.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.4284, allocations: 7.938 kB / 434.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.4284, allocations: 12 kB / 434.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.4284, allocations: 19.92 kB / 434.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.4285, allocations: 19.86 kB / 434.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.4286, allocations: 74.02 kB / 434.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4286, allocations: 0 / 434.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4286, allocations: 0 / 434.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.4286, allocations: 0 / 434.3 MB, free: 4.082 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.0005269/0.4292, allocations: 317.9 kB / 434.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.4292, allocations: 12.03 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.4292, allocations: 192 / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.4293, allocations: 46.75 kB / 434.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.4295, allocations: 16.88 kB / 434.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.4297, allocations: 130.4 kB / 434.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4297, allocations: 4.375 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.4298, allocations: 12.31 kB / 434.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.43, allocations: 121.9 kB / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.43, allocations: 0 / 434.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4301, allocations: 3.938 kB / 434.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4301, allocations: 4 kB / 435 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.4302, allocations: 63.89 kB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006872/0.4309, allocations: 0.5904 MB / 435.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.4311, allocations: 109.1 kB / 435.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4312, allocations: 56.28 kB / 435.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.4313, allocations: 3.984 kB / 435.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4313, allocations: 38.56 kB / 435.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4313, allocations: 0 / 435.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004523/0.4318, allocations: 125.4 kB / 435.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.4319, allocations: 162.2 kB / 436.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.432, allocations: 126.4 kB / 436.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.432, allocations: 25.7 kB / 436.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.4321, allocations: 104 kB / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.4321, allocations: 15.89 kB / 436.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.4322, allocations: 21.72 kB / 436.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4323, allocations: 314.8 kB / 436.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.4324, allocations: 23.92 kB / 436.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.4325, allocations: 48.28 kB / 436.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.4327, allocations: 84.2 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4327, allocations: 0 / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002299/0.4329, allocations: 101.5 kB / 436.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4329, allocations: 4.156 kB / 436.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4329, allocations: 8 kB / 436.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.433, allocations: 3.984 kB / 437 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4331, allocations: 11.94 kB / 437 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4331, allocations: 7.938 kB / 437 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.4331, allocations: 7.984 kB / 437 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4332, allocations: 4 kB / 437 MB, free: 1.07 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.0001211/0.4333, allocations: 117.8 kB / 437.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.155e-05/0.4334, allocations: 7.953 kB / 437.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.4334, allocations: 23.56 kB / 437.1 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4334, allocations: 4 kB / 437.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.4334, allocations: 3.938 kB / 437.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4334, allocations: 4 kB / 437.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.4338, allocations: 148.8 kB / 437.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.4338, allocations: 7.938 kB / 437.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.4339, allocations: 11.98 kB / 437.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4339, allocations: 4 kB / 437.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4339, allocations: 0 / 437.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4339, allocations: 7.938 kB / 437.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4339, allocations: 3.938 kB / 437.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.4344, allocations: 488.6 kB / 437.8 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.4344, allocations: 11.95 kB / 437.8 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4345, allocations: 0 / 437.8 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.4347, allocations: 11.98 kB / 437.8 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.4347, allocations: 19.86 kB / 437.8 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.4348, allocations: 0 / 437.8 MB, free: 140 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.908e-05/0.4348, allocations: 95.27 kB / 437.9 MB, free: 44 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4348, allocations: 0 / 437.9 MB, free: 44 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.4352, allocations: 15.94 kB / 437.9 MB, free: 28 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.0006878/0.4359, allocations: 1.018 MB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.4361, allocations: 59.89 kB / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4361, allocations: 320 / 439 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.738e-05/0.4362, allocations: 31.92 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.4367, allocations: 11.98 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.4387, allocations: 1.772 MB / 440.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.4388, allocations: 75.33 kB / 440.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.732e-05/0.4388, allocations: 7.922 kB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.4389, allocations: 23.44 kB / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4389, allocations: 0 / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.4621, allocations: 1.863 MB / 442.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.36, allocations: 4.812 kB / 442.8 MB, free: 11.11 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.152180923032574] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 11.516240478027612 11.531279728 11.099545481 Calling exit ...