Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.IntegerNetwork1.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.00118/0.00118, allocations: 105.8 kB / 19.74 MB, free: 2.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.001227/0.001227, allocations: 219.7 kB / 22.92 MB, free: 5.539 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.281/1.281, allocations: 230.5 MB / 256.4 MB, free: 8.445 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.IntegerNetwork1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_IntegerNetwork1",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.001837/0.001837, allocations: 71.81 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.217, allocations: 53.31 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002805/0.2198, allocations: 1.867 MB / 431.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2209, allocations: 0.705 MB / 432 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.221, allocations: 4 kB / 432 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2211, allocations: 27.67 kB / 432 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2212, allocations: 35.66 kB / 432 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.2215, allocations: 99.77 kB / 432.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.2218, allocations: 167.5 kB / 432.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.2219, allocations: 54.64 kB / 432.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2221, allocations: 91.62 kB / 432.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.2222, allocations: 87.55 kB / 432.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.2223, allocations: 16 kB / 432.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.472e-05/0.2223, allocations: 24 kB / 432.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.2224, allocations: 51.81 kB / 432.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.2225, allocations: 79.48 kB / 432.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2228, allocations: 207.4 kB / 432.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2228, allocations: 0 / 432.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2228, allocations: 0 / 432.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2228, allocations: 3.938 kB / 432.9 MB, free: 3.93 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000864/0.2236, allocations: 0.5179 MB / 433.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2237, allocations: 12.03 kB / 433.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.2237, allocations: 46.73 kB / 433.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.2239, allocations: 36.78 kB / 433.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.2242, allocations: 252.7 kB / 433.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2242, allocations: 16.38 kB / 433.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.2242, allocations: 20.38 kB / 433.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.2246, allocations: 209.4 kB / 434 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2246, allocations: 0 / 434 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.2246, allocations: 8 kB / 434 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.2246, allocations: 8 kB / 434 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.225, allocations: 139.8 kB / 434.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.226, allocations: 0.7818 MB / 434.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.2266, allocations: 182.6 kB / 435.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.2267, allocations: 60.83 kB / 435.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.2268, allocations: 4 kB / 435.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.227, allocations: 148.9 kB / 435.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.227, allocations: 0 / 435.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005601/0.2276, allocations: 245.4 kB / 435.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.2276, allocations: 85.09 kB / 435.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.2278, allocations: 227 kB / 435.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2278, allocations: 29.7 kB / 435.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.2279, allocations: 144.4 kB / 436 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.228, allocations: 27.8 kB / 436.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/0.2281, allocations: 65.64 kB / 436.1 MB, free: 452 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2282, allocations: 334.7 kB / 436.4 MB, free: 108 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2283, allocations: 67.95 kB / 436.5 MB, free: 40 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.2286, allocations: 136.6 kB / 436.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.2289, allocations: 216.3 kB / 436.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2289, allocations: 384 / 436.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004403/0.2293, allocations: 249.2 kB / 437.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2294, allocations: 8 kB / 437.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2294, allocations: 0 / 437.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2294, allocations: 8.188 kB / 437.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.2295, allocations: 35.98 kB / 437.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2295, allocations: 11.92 kB / 437.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.2297, allocations: 39.7 kB / 437.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.2297, allocations: 11.98 kB / 437.2 MB, free: 15.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001501/0.2299, allocations: 152 kB / 437.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.2299, allocations: 19.91 kB / 437.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.2302, allocations: 135 kB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2302, allocations: 0 / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2302, allocations: 320 / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2302, allocations: 3.938 kB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.2308, allocations: 486.2 kB / 438 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2308, allocations: 4 kB / 438 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.2309, allocations: 15.98 kB / 438 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2309, allocations: 0 / 438 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2309, allocations: 15.94 kB / 438 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2309, allocations: 0 / 438 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2309, allocations: 0 / 438 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.2313, allocations: 288.1 kB / 438.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.2314, allocations: 100.9 kB / 438.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.2314, allocations: 3.938 kB / 438.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2316, allocations: 23.97 kB / 438.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.2316, allocations: 19.98 kB / 438.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2316, allocations: 7.984 kB / 438.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.2318, allocations: 148.6 kB / 438.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2318, allocations: 0 / 438.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.232, allocations: 39.95 kB / 438.6 MB, free: 13.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007399/0.2328, allocations: 0.8381 MB / 439.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.2331, allocations: 160.3 kB / 439.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2332, allocations: 4 kB / 439.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2333, allocations: 71.89 kB / 439.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.2337, allocations: 30.88 kB / 439.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.2363, allocations: 2.242 MB / 442 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.2367, allocations: 0.7359 MB / 442.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.2368, allocations: 37.52 kB / 442.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2369, allocations: 63.42 kB / 442.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2369, allocations: 0 / 442.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.262, allocations: 4.166 MB / 447 MB, free: 5.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.211, allocations: 0 / 447 MB, free: 5.273 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.IntegerNetwork1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.IntegerNetwork1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_IntegerNetwork1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_IntegerNetwork1.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.280866694993165]