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.002194/0.002194, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002767/0.002767, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.612/1.612, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.001927/0.001927, allocations: 55.91 kB / 378.5 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.434, allocations: 53.4 MB / 432 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002955/0.437, allocations: 1.626 MB / 433.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.4379, allocations: 0.5025 MB / 434.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.438, allocations: 4 kB / 434.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.956e-05/0.438, allocations: 7.922 kB / 434.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.4381, allocations: 11.81 kB / 434.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.4383, allocations: 31.97 kB / 434.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.4384, allocations: 59.72 kB / 434.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.4386, allocations: 40.2 kB / 434.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.4387, allocations: 31.86 kB / 434.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.457e-05/0.4388, allocations: 39.77 kB / 434.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.4388, allocations: 4 kB / 434.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.004e-05/0.4389, allocations: 12 kB / 434.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.4389, allocations: 7.984 kB / 434.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.439, allocations: 31.81 kB / 434.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.4391, allocations: 75.16 kB / 434.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4391, allocations: 4 kB / 434.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4391, allocations: 0 / 434.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4391, allocations: 4 kB / 434.4 MB, free: 4.172 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.0004854/0.4396, allocations: 307.4 kB / 434.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4396, allocations: 8.031 kB / 434.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.557e-05/0.4397, allocations: 192 / 434.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.4397, allocations: 38.75 kB / 434.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.4398, allocations: 20.83 kB / 434.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.4401, allocations: 130.4 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.4401, allocations: 12.38 kB / 434.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.4401, allocations: 4.375 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.4403, allocations: 117.5 kB / 435.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4404, allocations: 3.938 kB / 435.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4404, allocations: 3.984 kB / 435.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.4404, allocations: 8 kB / 435.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.4406, allocations: 55.91 kB / 435.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.4412, allocations: 0.6021 MB / 435.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.4414, allocations: 116.9 kB / 435.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.4415, allocations: 64.33 kB / 435.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.4415, allocations: 0 / 435.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.4416, allocations: 42.55 kB / 436 MB, free: 2.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.4416, allocations: 3.938 kB / 436 MB, free: 2.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004667/0.442, allocations: 129.4 kB / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.4421, allocations: 158.2 kB / 436.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.4423, allocations: 122.4 kB / 436.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.4423, allocations: 25.7 kB / 436.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.4424, allocations: 108 kB / 436.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.4424, allocations: 11.91 kB / 436.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.4424, allocations: 21.7 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4426, allocations: 318.8 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.4427, allocations: 23.97 kB / 436.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4428, allocations: 48.28 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.443, allocations: 88.14 kB / 437 MB, free: 1.305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.443, allocations: 0 / 437 MB, free: 1.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002302/0.4432, allocations: 97.55 kB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4432, allocations: 4 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4433, allocations: 0 / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.4433, allocations: 4 kB / 437.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4434, allocations: 15.92 kB / 437.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4434, allocations: 8.094 kB / 437.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.4435, allocations: 11.98 kB / 437.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4435, allocations: 0 / 437.1 MB, free: 1.16 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.0001263/0.4436, allocations: 121.8 kB / 437.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.4437, allocations: 7.953 kB / 437.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.4437, allocations: 15.56 kB / 437.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4437, allocations: 4 kB / 437.3 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4438, allocations: 3.938 kB / 437.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4438, allocations: 8 kB / 437.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.4442, allocations: 160.6 kB / 437.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4442, allocations: 0 / 437.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.4442, allocations: 19.92 kB / 437.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4442, allocations: 4 kB / 437.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4442, allocations: 0 / 437.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4443, allocations: 0 / 437.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.4443, allocations: 7.938 kB / 437.5 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.4447, allocations: 488.6 kB / 437.9 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.4447, allocations: 11.89 kB / 438 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4447, allocations: 4.188 kB / 438 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.445, allocations: 11.98 kB / 438 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.445, allocations: 19.92 kB / 438 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.445, allocations: 3.938 kB / 438 MB, free: 216 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.776e-05/0.4451, allocations: 95.27 kB / 438.1 MB, free: 120 kB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4451, allocations: 0 / 438.1 MB, free: 120 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.4455, allocations: 8 kB / 438.1 MB, free: 112 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.0009018/0.4464, allocations: 1.018 MB / 439.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.4466, allocations: 63.89 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4466, allocations: 0 / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4467, allocations: 31.92 kB / 439.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.4473, allocations: 6.5 kB / 439.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.4494, allocations: 1.77 MB / 441 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4498, allocations: 0.6963 MB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.441e-05/0.4498, allocations: 4 kB / 441.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.4498, allocations: 19.44 kB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.4498, allocations: 0 / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.4725, allocations: 1.855 MB / 443.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.25, allocations: 7.469 kB / 443.6 MB, free: 10.58 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.991869694029447] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 11.40623817697633 11.42182102 10.979410443 Calling exit ...