Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001302/0.001302, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.001436/0.001436, allocations: 205.7 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 207.6 MB / 232.5 MB, free: 3.973 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 56.55 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.0875, allocations: 49.13 MB / 392.1 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002929/0.09043, allocations: 1.588 MB / 393.7 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.09119, allocations: 471.5 kB / 394.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.09124, allocations: 0 / 394.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.09128, allocations: 7.922 kB / 394.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.09137, allocations: 19.8 kB / 394.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.09151, allocations: 19.98 kB / 394.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.09162, allocations: 59.78 kB / 394.3 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.0918, allocations: 43.83 kB / 394.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.0919, allocations: 27.92 kB / 394.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.09197, allocations: 31.8 kB / 394.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.09199, allocations: 4 kB / 394.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.09201, allocations: 4 kB / 394.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.09203, allocations: 15.98 kB / 394.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.09207, allocations: 27.8 kB / 394.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.09222, allocations: 71.66 kB / 394.5 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.09222, allocations: 4 kB / 394.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09222, allocations: 0 / 394.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.09223, allocations: 7.938 kB / 394.5 MB, free: 6.305 MB / 318.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.0005599/0.09279, allocations: 375.2 kB / 394.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.09283, allocations: 15.97 kB / 394.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.728e-05/0.09284, allocations: 4.188 kB / 394.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.09288, allocations: 38.75 kB / 394.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.09292, allocations: 12.88 kB / 394.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.09306, allocations: 180.3 kB / 395.1 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.09309, allocations: 4.375 kB / 395.1 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.09311, allocations: 4.375 kB / 395.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.09334, allocations: 117.8 kB / 395.2 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.09335, allocations: 3.984 kB / 395.2 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.09337, allocations: 8 kB / 395.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.09337, allocations: 4 kB / 395.2 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.09355, allocations: 55.89 kB / 395.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.09424, allocations: 0.6381 MB / 395.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.09443, allocations: 108.9 kB / 396 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.09454, allocations: 56.45 kB / 396.1 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.09456, allocations: 4 kB / 396.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.0946, allocations: 38.5 kB / 396.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.0946, allocations: 4 kB / 396.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004416/0.09504, allocations: 117.5 kB / 396.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.09515, allocations: 162.2 kB / 396.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.09526, allocations: 126.2 kB / 396.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.09528, allocations: 33.64 kB / 396.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.09534, allocations: 100 kB / 396.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.09536, allocations: 19.83 kB / 396.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.09541, allocations: 25.7 kB / 396.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.09555, allocations: 314.8 kB / 397 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.09563, allocations: 23.97 kB / 397.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-05/0.09573, allocations: 48.28 kB / 397.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.09591, allocations: 84.2 kB / 397.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.09591, allocations: 0 / 397.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002389/0.09615, allocations: 101.5 kB / 397.3 MB, free: 3.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.09616, allocations: 4 kB / 397.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.09617, allocations: 0 / 397.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.09619, allocations: 4 kB / 397.3 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.09629, allocations: 16.14 kB / 397.3 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.09629, allocations: 3.938 kB / 397.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.09636, allocations: 15.92 kB / 397.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.09637, allocations: 0 / 397.3 MB, free: 3.113 MB / 318.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.0001004/0.09647, allocations: 121.8 kB / 397.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.09656, allocations: 11.89 kB / 397.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.09659, allocations: 11.52 kB / 397.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.09659, allocations: 4 kB / 397.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.0966, allocations: 3.938 kB / 397.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.0966, allocations: 4 kB / 397.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.09699, allocations: 185.8 kB / 397.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.097, allocations: 4 kB / 397.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.09706, allocations: 11.98 kB / 397.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.09707, allocations: 0 / 397.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.09708, allocations: 8 kB / 397.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.09708, allocations: 0 / 397.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.09709, allocations: 3.938 kB / 397.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.09748, allocations: 0.4888 MB / 398.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.09752, allocations: 81.06 kB / 398.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.09754, allocations: 4 kB / 398.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.09775, allocations: 11.98 kB / 398.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.09779, allocations: 19.86 kB / 398.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.0978, allocations: 4 kB / 398.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.09785, allocations: 87.28 kB / 398.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.09785, allocations: 0 / 398.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.09821, allocations: 8 kB / 398.4 MB, free: 1.953 MB / 318.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.0006766/0.09889, allocations: 1.026 MB / 399.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.09912, allocations: 63.84 kB / 399.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.09913, allocations: 0 / 399.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.09923, allocations: 31.97 kB / 399.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.09971, allocations: 7.938 kB / 399.5 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.1004, allocations: 240.7 kB / 399.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1008, allocations: 0.6924 MB / 400.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.1008, allocations: 3.984 kB / 400.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.1008, allocations: 27.42 kB / 400.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1008, allocations: 4 kB / 400.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1192, allocations: 1.708 MB / 402.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.146, allocations: 8 kB / 402.2 MB, free: 13.98 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.366677427024115] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 8.266360776964575 8.28109954 8.18605599 Calling exit ...