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.001504/0.001504, allocations: 99.62 kB / 21.95 MB, free: 5.219 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.001695/0.001695, allocations: 214 kB / 25.26 MB, free: 3.129 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.314/1.314, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.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.001655/0.001655, allocations: 70.5 kB / 348 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2393, allocations: 49.15 MB / 397.1 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002355/0.2417, allocations: 1.571 MB / 398.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005557/0.2422, allocations: 445.4 kB / 399.1 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.2423, allocations: 1 kB / 399.1 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.2423, allocations: 10.31 kB / 399.1 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.2424, allocations: 14.48 kB / 399.2 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.2425, allocations: 21.52 kB / 399.2 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.2426, allocations: 55.61 kB / 399.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.2427, allocations: 45.09 kB / 399.3 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.2428, allocations: 25.61 kB / 399.3 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.2428, allocations: 29.12 kB / 399.3 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.2428, allocations: 5.062 kB / 399.3 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.2429, allocations: 5.656 kB / 399.3 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.2429, allocations: 17.12 kB / 399.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.2429, allocations: 23.41 kB / 399.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.243, allocations: 76.14 kB / 399.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.243, allocations: 5.156 kB / 399.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.243, allocations: 0 / 399.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.243, allocations: 0 / 399.5 MB, free: 7.309 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.000354/0.2434, allocations: 306.4 kB / 399.8 MB, free: 7.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.2434, allocations: 17.39 kB / 399.8 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.094e-05/0.2434, allocations: 2.812 kB / 399.8 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.089e-05/0.2434, allocations: 38.69 kB / 399.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.2435, allocations: 9.188 kB / 399.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.2435, allocations: 120.3 kB / 399.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2436, allocations: 3.781 kB / 399.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2436, allocations: 16.28 kB / 400 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.2438, allocations: 113.3 kB / 400.1 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2438, allocations: 0 / 400.1 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2438, allocations: 5.281 kB / 400.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2438, allocations: 1.156 kB / 400.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.2439, allocations: 53.92 kB / 400.1 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.2443, allocations: 0.5955 MB / 400.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.2445, allocations: 119.3 kB / 400.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.2445, allocations: 53.72 kB / 400.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2446, allocations: 6.281 kB / 400.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.2446, allocations: 35.44 kB / 400.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2446, allocations: 0 / 400.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003838/0.245, allocations: 127.2 kB / 401.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.245, allocations: 164.6 kB / 401.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.2451, allocations: 129.4 kB / 401.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.2451, allocations: 25.7 kB / 401.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.2451, allocations: 98.47 kB / 401.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.2451, allocations: 20.27 kB / 401.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.2451, allocations: 19.83 kB / 401.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.2452, allocations: 320.2 kB / 401.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.2452, allocations: 24.95 kB / 401.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.2453, allocations: 48.98 kB / 401.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.2455, allocations: 79.92 kB / 402 MB, free: 4.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2455, allocations: 4 kB / 402 MB, free: 4.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001878/0.2456, allocations: 98.19 kB / 402.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2457, allocations: 5.531 kB / 402.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2457, allocations: 5.203 kB / 402.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2457, allocations: 1.031 kB / 402.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.2458, allocations: 12.67 kB / 402.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2458, allocations: 6.672 kB / 402.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.2458, allocations: 22.98 kB / 402.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2458, allocations: 2.75 kB / 402.1 MB, free: 4.852 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 5.169e-05/0.2459, allocations: 116 kB / 402.2 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.246, allocations: 12.44 kB / 402.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.246, allocations: 14.28 kB / 402.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.246, allocations: 2.75 kB / 402.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.246, allocations: 6.031 kB / 402.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.246, allocations: 1.281 kB / 402.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.2463, allocations: 148.6 kB / 402.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2463, allocations: 5.188 kB / 402.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.2464, allocations: 11.98 kB / 402.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2464, allocations: 1.219 kB / 402.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.2464, allocations: 3.156 kB / 402.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2464, allocations: 2.078 kB / 402.4 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2464, allocations: 13.25 kB / 402.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.2466, allocations: 488.8 kB / 402.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.2466, allocations: 12.14 kB / 402.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.2466, allocations: 10.88 kB / 403 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.2469, allocations: 7.016 kB / 403 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.2469, allocations: 19.11 kB / 403 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2469, allocations: 1.969 kB / 403 MB, free: 4.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.936e-05/0.2469, allocations: 92.3 kB / 403.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2469, allocations: 0 / 403.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.2473, allocations: 12.56 kB / 403.1 MB, free: 3.973 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.0003362/0.2476, allocations: 1.017 MB / 404.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.2478, allocations: 56.58 kB / 404.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2478, allocations: 0 / 404.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.2479, allocations: 36.02 kB / 404.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.2484, allocations: 5.125 kB / 404.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.249, allocations: 247.9 kB / 404.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.483e-05/0.249, allocations: 74.77 kB / 404.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.249, allocations: 1.969 kB / 404.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.2491, allocations: 20.17 kB / 404.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2491, allocations: 0 / 404.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.2696, allocations: 1.844 MB / 406.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.07, allocations: 6.516 kB / 406.4 MB, free: 1.957 MB / 318.1 MB " [Timeout remaining time 649] (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: 13.302116411039606] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 11.226036035921425 11.249635125 11.002031278 Calling exit ...