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.001235/0.001235, allocations: 117 kB / 18.49 MB, free: 4.566 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.001994/0.001994, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.662/1.662, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.001856/0.001856, allocations: 75.88 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1476, allocations: 53.37 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003468/0.151, allocations: 1.62 MB / 428.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.152, allocations: 494.7 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.1521, allocations: 0 / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.1521, allocations: 19.86 kB / 429.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.76e-05/0.1522, allocations: 11.86 kB / 429.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1525, allocations: 31.91 kB / 429.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1526, allocations: 59.78 kB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1528, allocations: 36.2 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.153, allocations: 35.8 kB / 429.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.1531, allocations: 31.84 kB / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.1531, allocations: 4 kB / 429.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.948e-05/0.1531, allocations: 8 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.1532, allocations: 15.92 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.1532, allocations: 35.8 kB / 429.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1534, allocations: 75.64 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1534, allocations: 3.938 kB / 429.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1534, allocations: 3.938 kB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1534, allocations: 7.938 kB / 429.5 MB, free: 2.117 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.0006313/0.154, allocations: 375.2 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1541, allocations: 12.03 kB / 429.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.627e-05/0.1541, allocations: 192 / 429.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.1541, allocations: 46.73 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.1543, allocations: 16.84 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.1546, allocations: 184.2 kB / 430.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.1546, allocations: 8.375 kB / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1547, allocations: 384 / 430.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.1549, allocations: 121.8 kB / 430.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.155, allocations: 4 kB / 430.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.155, allocations: 4 kB / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.155, allocations: 0 / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1552, allocations: 55.89 kB / 430.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.156, allocations: 0.6459 MB / 431 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1562, allocations: 121 kB / 431.1 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1563, allocations: 48.34 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.1563, allocations: 0 / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.1564, allocations: 46.5 kB / 431.2 MB, free: 204 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1564, allocations: 0 / 431.2 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005305/0.1569, allocations: 122 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.1571, allocations: 162.2 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1572, allocations: 121.8 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1572, allocations: 29.7 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.1573, allocations: 96.08 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1574, allocations: 19.84 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.1574, allocations: 21.7 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1576, allocations: 314.8 kB / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.1577, allocations: 19.98 kB / 432.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1578, allocations: 56.27 kB / 432.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.158, allocations: 76.2 kB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.158, allocations: 4 kB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002739/0.1583, allocations: 97.48 kB / 432.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1583, allocations: 12.16 kB / 432.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1583, allocations: 0 / 432.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.1583, allocations: 7.984 kB / 432.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1584, allocations: 11.98 kB / 432.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1584, allocations: 4.062 kB / 432.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.1585, allocations: 19.92 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.1585, allocations: 0 / 432.4 MB, free: 14.91 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.0001235/0.1586, allocations: 125.7 kB / 432.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.1587, allocations: 7.953 kB / 432.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.1588, allocations: 15.53 kB / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1588, allocations: 4 kB / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.1588, allocations: 7.922 kB / 432.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1588, allocations: 0 / 432.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.1592, allocations: 181.6 kB / 432.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1592, allocations: 0 / 432.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-05/0.1593, allocations: 12 kB / 432.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1593, allocations: 3.984 kB / 432.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1593, allocations: 4 kB / 432.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1593, allocations: 0 / 432.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1593, allocations: 7.938 kB / 432.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.1598, allocations: 492.5 kB / 433.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.1598, allocations: 85.06 kB / 433.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1599, allocations: 4 kB / 433.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1601, allocations: 7.984 kB / 433.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.1601, allocations: 11.94 kB / 433.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.1601, allocations: 4 kB / 433.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.09e-05/0.1602, allocations: 95.2 kB / 433.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1602, allocations: 0 / 433.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1606, allocations: 16 kB / 433.4 MB, free: 13.75 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.000764/0.1614, allocations: 1.022 MB / 434.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1616, allocations: 59.84 kB / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1616, allocations: 0 / 434.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1617, allocations: 40.41 kB / 434.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.1622, allocations: 8.422 kB / 434.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.1642, allocations: 1.769 MB / 436.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1646, allocations: 0.6924 MB / 437 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.638e-05/0.1647, allocations: 3.984 kB / 437 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.1648, allocations: 23.38 kB / 437 MB, free: 9.965 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1648, allocations: 0 / 437 MB, free: 9.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.1848, allocations: 1.724 MB / 438.8 MB, free: 8.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.33, allocations: 15.31 kB / 438.8 MB, free: 8.281 MB / 366.1 MB " [Timeout remaining time 652] (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: 11.332894061983097] Failed to read output from testmodel.py, exit status != 0: ['time', 'controlBus.realSignal1', 'controlBus.integerSignal', 'controlBus.booleanSignal', 'controlBus.subControlBus.myRealSignal', 'controlBus.subControlBus.myBooleanSignal'] 8.452321523043793 8.651261898 8.494643974 Calling exit ...