Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001263/0.001263, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001314/0.001314, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.5 MB / 254.7 MB, free: 15.01 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-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 67.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1095, allocations: 53.31 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003264/0.1128, allocations: 1.619 MB / 428.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1138, allocations: 494.7 kB / 429 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.1139, allocations: 4 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.1139, allocations: 7.875 kB / 429 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.114, allocations: 15.86 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.1143, allocations: 35.91 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1144, allocations: 63.77 kB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1146, allocations: 36.14 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1148, allocations: 31.86 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.1149, allocations: 35.78 kB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1149, allocations: 4 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-05/0.1149, allocations: 8 kB / 429.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.115, allocations: 15.94 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.115, allocations: 27.8 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1152, allocations: 83.58 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1152, allocations: 7.922 kB / 429.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1152, allocations: 4 kB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1152, allocations: 0 / 429.3 MB, free: 2.375 MB / 350.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.0006266/0.1159, allocations: 379.2 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1159, allocations: 8.031 kB / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.116, allocations: 38.75 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.1161, allocations: 20.83 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1164, allocations: 180.3 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1164, allocations: 8.375 kB / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1164, allocations: 4.375 kB / 430 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.1167, allocations: 118 kB / 430.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1167, allocations: 0 / 430.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1167, allocations: 8 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1167, allocations: 0 / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.1169, allocations: 59.89 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.1176, allocations: 0.6497 MB / 430.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1178, allocations: 109.1 kB / 430.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1179, allocations: 52.33 kB / 431 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1179, allocations: 7.984 kB / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.118, allocations: 38.5 kB / 431 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.118, allocations: 0 / 431 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004627/0.1184, allocations: 121.5 kB / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.1185, allocations: 162.2 kB / 431.3 MB, free: 148 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1187, allocations: 126.4 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2026/0.3212, allocations: 28.52 kB / 431.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.3213, allocations: 91.78 kB / 431.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3213, allocations: 13.59 kB / 431.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.3214, allocations: 26.72 kB / 431.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.3214, allocations: 319.5 kB / 431.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3215, allocations: 22.62 kB / 431.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-05/0.3216, allocations: 49.89 kB / 431.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3218, allocations: 76 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3218, allocations: 1.25 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002701/0.3221, allocations: 102.8 kB / 432.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3221, allocations: 5.812 kB / 432.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3221, allocations: 2.938 kB / 432.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3221, allocations: 4.391 kB / 432.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3222, allocations: 18.91 kB / 432.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3222, allocations: 6.656 kB / 432.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.3223, allocations: 14.23 kB / 432.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.3223, allocations: 2.938 kB / 432.2 MB, free: 10.54 MB / 350.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 7.836e-05/0.3224, allocations: 115.6 kB / 432.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.3225, allocations: 9.781 kB / 432.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.3225, allocations: 10.92 kB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3225, allocations: 6.766 kB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3225, allocations: 6.594 kB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3225, allocations: 2.062 kB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.3229, allocations: 182 kB / 432.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3229, allocations: 2.094 kB / 432.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.323, allocations: 12.19 kB / 432.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.323, allocations: 5.594 kB / 432.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.323, allocations: 7.469 kB / 432.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.323, allocations: 2.031 kB / 432.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.323, allocations: 1 kB / 432.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3233, allocations: 0.4899 MB / 433 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.3233, allocations: 80.89 kB / 433.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3233, allocations: 5.969 kB / 433.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3235, allocations: 6.234 kB / 433.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.3236, allocations: 14.31 kB / 433.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3236, allocations: 3.625 kB / 433.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.382e-05/0.3236, allocations: 98.16 kB / 433.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3236, allocations: 1.156 kB / 433.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.324, allocations: 18.58 kB / 433.2 MB, free: 9.617 MB / 350.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.0004391/0.3244, allocations: 1.019 MB / 434.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3247, allocations: 58.12 kB / 434.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3247, allocations: 0 / 434.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.3248, allocations: 39.08 kB / 434.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.3253, allocations: 4.219 kB / 434.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.3268, allocations: 1.766 MB / 436.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.327, allocations: 0.689 MB / 436.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.327, allocations: 3.25 kB / 436.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.3271, allocations: 26.8 kB / 436.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3271, allocations: 1.625 kB / 436.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.3525, allocations: 1.688 MB / 438.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.523, allocations: 15.2 kB / 438.6 MB, free: 5.992 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.809426715131849] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 8.602618041913956 8.618859422 8.500346726 Calling exit ...