Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001368/0.001368, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001416/0.001416, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 254.8 MB, free: 15.07 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+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_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 55.91 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1221, allocations: 53.32 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00315/0.1253, allocations: 1.615 MB / 428.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.1263, allocations: 0.4909 MB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.1263, allocations: 4 kB / 429.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.1264, allocations: 11.81 kB / 429.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.1265, allocations: 19.84 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1267, allocations: 31.91 kB / 429.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1269, allocations: 59.78 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1271, allocations: 32.2 kB / 429.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1272, allocations: 39.8 kB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.1273, allocations: 27.84 kB / 429.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1273, allocations: 8 kB / 429.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.883e-05/0.1274, allocations: 12 kB / 429.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1274, allocations: 15.92 kB / 429.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.1274, allocations: 27.81 kB / 429.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1276, allocations: 83.56 kB / 429.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1276, allocations: 0 / 429.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1276, allocations: 0 / 429.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1276, allocations: 0 / 429.5 MB, free: 2.301 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.0006102/0.1283, allocations: 381.7 kB / 429.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.1283, allocations: 12.03 kB / 429.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.689e-05/0.1283, allocations: 8.188 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.1284, allocations: 34.75 kB / 429.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.1285, allocations: 24.83 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1288, allocations: 184.2 kB / 430.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.1288, allocations: 4.375 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1288, allocations: 4.375 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.1291, allocations: 129.8 kB / 430.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1291, allocations: 0 / 430.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1291, allocations: 8 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1291, allocations: 0 / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.1293, allocations: 55.89 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.1301, allocations: 0.6459 MB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1303, allocations: 121 kB / 431.1 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1304, allocations: 44.28 kB / 431.1 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1304, allocations: 8 kB / 431.1 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1304, allocations: 38.5 kB / 431.2 MB, free: 380 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1304, allocations: 0 / 431.2 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000456/0.1309, allocations: 122 kB / 431.3 MB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.131, allocations: 166.1 kB / 431.4 MB, free: 48 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1311, allocations: 117.8 kB / 431.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1312, allocations: 29.7 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.1312, allocations: 104 kB / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.1312, allocations: 11.91 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1313, allocations: 25.7 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1314, allocations: 314.9 kB / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.1315, allocations: 23.92 kB / 432.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1316, allocations: 56.27 kB / 432.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.1318, allocations: 76.2 kB / 432.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1318, allocations: 0 / 432.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002365/0.1321, allocations: 105.5 kB / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1321, allocations: 8 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1321, allocations: 0 / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1321, allocations: 0 / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1322, allocations: 15.98 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.1322, allocations: 3.938 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.1323, allocations: 11.92 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1323, allocations: 4 kB / 432.3 MB, free: 15.09 MB / 366.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.0001224/0.1324, allocations: 121.9 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.1325, allocations: 11.95 kB / 432.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.1326, allocations: 11.53 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1326, allocations: 0 / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.1326, allocations: 7.938 kB / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1326, allocations: 3.984 kB / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.133, allocations: 181.6 kB / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.133, allocations: 0 / 432.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.1331, allocations: 15.98 kB / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1331, allocations: 0 / 432.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1331, allocations: 4.125 kB / 432.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.1331, allocations: 11.98 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1331, allocations: 3.938 kB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.1336, allocations: 496.5 kB / 433.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.1337, allocations: 81.06 kB / 433.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1337, allocations: 4 kB / 433.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1339, allocations: 7.984 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.134, allocations: 11.94 kB / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.134, allocations: 4 kB / 433.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.512e-05/0.134, allocations: 95.2 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.134, allocations: 4 kB / 433.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.1344, allocations: 12 kB / 433.4 MB, free: 13.92 MB / 366.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.0008803/0.1353, allocations: 1.026 MB / 434.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1356, allocations: 59.84 kB / 434.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1356, allocations: 0 / 434.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1357, allocations: 44.41 kB / 434.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.1362, allocations: 0 / 434.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.1385, allocations: 1.772 MB / 436.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1389, allocations: 0.6924 MB / 437 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.1389, allocations: 0 / 437 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.139, allocations: 23.42 kB / 437 MB, free: 10.13 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.139, allocations: 4 kB / 437 MB, free: 10.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.1578, allocations: 1.72 MB / 438.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.286, allocations: 8.047 kB / 438.7 MB, free: 8.465 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.833640246011782] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 8.429569395026192 8.636209344 8.506300841 Calling exit ...