Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002374/0.002374, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001976/0.001976, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.564/1.564, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.IntegerNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 59.91 kB / 378.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3928, allocations: 53.41 MB / 432 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.004131/0.3969, allocations: 1.859 MB / 433.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3987, allocations: 0.705 MB / 434.5 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.3988, allocations: 7.938 kB / 434.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.399, allocations: 27.66 kB / 434.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.3992, allocations: 39.66 kB / 434.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.3996, allocations: 107.7 kB / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.3998, allocations: 167.5 kB / 434.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.4001, allocations: 54.92 kB / 434.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.4003, allocations: 87.64 kB / 435 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.4005, allocations: 87.55 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.4005, allocations: 16 kB / 435.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.4006, allocations: 27.98 kB / 435.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.4007, allocations: 47.83 kB / 435.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.4008, allocations: 79.48 kB / 435.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.4011, allocations: 219.8 kB / 435.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4011, allocations: 0 / 435.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4011, allocations: 0 / 435.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4012, allocations: 0 / 435.5 MB, free: 3.141 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.001008/0.4022, allocations: 449.2 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.4022, allocations: 8.031 kB / 435.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.898e-05/0.4022, allocations: 4.188 kB / 435.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.4023, allocations: 62.73 kB / 436 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.4025, allocations: 32.78 kB / 436 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.4028, allocations: 184.1 kB / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.4028, allocations: 12.38 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.4029, allocations: 16.38 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.4033, allocations: 221.6 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4033, allocations: 3.984 kB / 436.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.4033, allocations: 4 kB / 436.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.4033, allocations: 11.94 kB / 436.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.4037, allocations: 135.8 kB / 436.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.405, allocations: 0.7534 MB / 437.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.4057, allocations: 178.7 kB / 437.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.4058, allocations: 60.81 kB / 437.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.4059, allocations: 7.984 kB / 437.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.4062, allocations: 148.1 kB / 437.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.4062, allocations: 0 / 437.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006733/0.4069, allocations: 241.4 kB / 438 MB, free: 484 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.407, allocations: 81.11 kB / 438.1 MB, free: 384 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.4072, allocations: 228.1 kB / 438.3 MB, free: 148 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.4073, allocations: 37.7 kB / 438.3 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.4074, allocations: 144.3 kB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.4075, allocations: 35.75 kB / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4076, allocations: 57.64 kB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.4078, allocations: 334.8 kB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.408, allocations: 63.95 kB / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.4082, allocations: 137.2 kB / 439.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.4086, allocations: 212.2 kB / 439.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4086, allocations: 4 kB / 439.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004927/0.4091, allocations: 253.2 kB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4091, allocations: 4 kB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4091, allocations: 4 kB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.4091, allocations: 4 kB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4093, allocations: 39.91 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4093, allocations: 4.312 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.4095, allocations: 44 kB / 439.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.4095, allocations: 16 kB / 439.6 MB, free: 14.69 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.0001826/0.4097, allocations: 144.2 kB / 439.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.4097, allocations: 15.91 kB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.41, allocations: 135.3 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.41, allocations: 7.984 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.41, allocations: 0 / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.41, allocations: 3.938 kB / 439.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.4108, allocations: 457.3 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4108, allocations: 0 / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.4109, allocations: 23.98 kB / 440.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4109, allocations: 0 / 440.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4109, allocations: 7.922 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4109, allocations: 4 kB / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4109, allocations: 0 / 440.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.4114, allocations: 288.1 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.4114, allocations: 19.84 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.4114, allocations: 7.938 kB / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.4116, allocations: 15.97 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.4117, allocations: 23.97 kB / 440.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.4117, allocations: 8 kB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.4118, allocations: 151.5 kB / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4118, allocations: 4 kB / 440.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.4122, allocations: 39.89 kB / 441 MB, free: 13.27 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.0008638/0.413, allocations: 0.8263 MB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.4134, allocations: 163.7 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4134, allocations: 0 / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.4136, allocations: 76.58 kB / 442 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.414, allocations: 34.92 kB / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.4173, allocations: 2.236 MB / 444.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.4177, allocations: 0.7437 MB / 445 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.4178, allocations: 29.62 kB / 445.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.4179, allocations: 63.41 kB / 445.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4179, allocations: 0 / 445.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.4449, allocations: 4.402 MB / 449.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.42, allocations: 22.34 kB / 449.6 MB, free: 4.598 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_IntegerNetwork1_fmu --startTime=0 --stopTime=10 --stepSize=0.00197941 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_IntegerNetwork1.fmu > Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.054249531007372] Failed to read output from testmodel.py, exit status != 0: ['time', 'multiSwitch1.y', 'triggeredAdd.y'] 11.579895108006895 11.596309041 11.191994867 Calling exit ...