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.001427/0.001427, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001688/0.001688, allocations: 221.2 kB / 22.92 MB, free: 5.559 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.284/1.284, allocations: 230.5 MB / 256.4 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 179] 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.001762/0.001762, allocations: 75.81 kB / 376.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2039, allocations: 53.32 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002553/0.2064, allocations: 1.634 MB / 431 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007373/0.2071, allocations: 498.7 kB / 431.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.2072, allocations: 8 kB / 431.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.2072, allocations: 7.875 kB / 431.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.688e-05/0.2073, allocations: 11.86 kB / 431.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.2075, allocations: 39.89 kB / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2076, allocations: 55.78 kB / 431.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2077, allocations: 40.14 kB / 431.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2078, allocations: 27.92 kB / 431.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.2079, allocations: 31.78 kB / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.2079, allocations: 8 kB / 431.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.208, allocations: 8 kB / 431.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.208, allocations: 15.98 kB / 431.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.208, allocations: 31.8 kB / 431.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2082, allocations: 80.42 kB / 431.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2082, allocations: 0 / 431.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2082, allocations: 0 / 431.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2082, allocations: 3.938 kB / 431.9 MB, free: 4.957 MB / 334.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.0004761/0.2087, allocations: 382.7 kB / 432.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2087, allocations: 12.03 kB / 432.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.2087, allocations: 34.75 kB / 432.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2089, allocations: 28.83 kB / 432.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.209, allocations: 176.3 kB / 432.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.2091, allocations: 8.375 kB / 432.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2091, allocations: 4.375 kB / 432.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.2093, allocations: 130 kB / 432.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2093, allocations: 0 / 432.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2093, allocations: 4 kB / 432.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2093, allocations: 4 kB / 432.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.2095, allocations: 51.91 kB / 432.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.2101, allocations: 0.6381 MB / 433.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.2103, allocations: 116.9 kB / 433.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.2104, allocations: 52.39 kB / 433.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2104, allocations: 3.938 kB / 433.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.2104, allocations: 46.5 kB / 433.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2104, allocations: 0 / 433.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004188/0.2108, allocations: 117.5 kB / 433.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.2109, allocations: 162.8 kB / 433.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.598e-05/0.211, allocations: 125.7 kB / 433.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.211, allocations: 29.7 kB / 434 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.2111, allocations: 100 kB / 434.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.2111, allocations: 15.91 kB / 434.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.2112, allocations: 17.72 kB / 434.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2113, allocations: 318.8 kB / 434.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.2114, allocations: 23.98 kB / 434.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-05/0.2115, allocations: 56.27 kB / 434.5 MB, free: 2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2116, allocations: 80.2 kB / 434.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2116, allocations: 0 / 434.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002265/0.2118, allocations: 101.5 kB / 434.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2119, allocations: 4 kB / 434.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2119, allocations: 8.156 kB / 434.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2119, allocations: 0 / 434.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.212, allocations: 11.98 kB / 434.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.212, allocations: 7.938 kB / 434.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.212, allocations: 4 kB / 434.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.212, allocations: 4 kB / 434.7 MB, free: 1.762 MB / 334.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 8.631e-05/0.2121, allocations: 129.6 kB / 434.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.2122, allocations: 11.95 kB / 434.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.2122, allocations: 15.48 kB / 434.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2122, allocations: 4 kB / 434.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2122, allocations: 3.938 kB / 434.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2122, allocations: 4 kB / 434.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.2126, allocations: 185.6 kB / 435 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2126, allocations: 0 / 435 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.2127, allocations: 15.92 kB / 435.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.2127, allocations: 4 kB / 435.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.2127, allocations: 0 / 435.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2127, allocations: 0 / 435.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2127, allocations: 11.94 kB / 435.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.2131, allocations: 488.5 kB / 435.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.2131, allocations: 93.05 kB / 435.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2131, allocations: 3.984 kB / 435.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.2133, allocations: 8 kB / 435.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.2134, allocations: 15.92 kB / 435.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2134, allocations: 192 / 435.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.378e-05/0.2135, allocations: 95.27 kB / 435.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2135, allocations: 0 / 435.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.2138, allocations: 12 kB / 435.8 MB, free: 0.582 MB / 334.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.0006885/0.2145, allocations: 1.022 MB / 436.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2147, allocations: 63.77 kB / 436.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2147, allocations: 0 / 436.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.2148, allocations: 36.48 kB / 436.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.2153, allocations: 10.8 kB / 436.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.2172, allocations: 1.773 MB / 438.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2175, allocations: 0.6924 MB / 439.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.2175, allocations: 0 / 439.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.2176, allocations: 23.42 kB / 439.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2176, allocations: 0 / 439.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.2389, allocations: 1.673 MB / 441.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/7.026, allocations: 10.22 kB / 441.1 MB, free: 11.18 MB / 350.1 MB " [Timeout remaining time 653] (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 --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: 9.097660223000275]