Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.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.001219/0.001219, allocations: 121.5 kB / 19.17 MB, free: 3.898 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.001308/0.001308, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 207.6 MB / 232.5 MB, free: 3.98 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IntegerNetwork1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 51.92 kB / 343 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08847, allocations: 49.13 MB / 392.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.003189/0.09166, allocations: 1.817 MB / 393.9 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.09289, allocations: 0.6784 MB / 394.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.781e-05/0.09299, allocations: 7.938 kB / 394.6 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.09314, allocations: 31.67 kB / 394.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.09328, allocations: 35.72 kB / 394.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.09359, allocations: 75.8 kB / 394.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.09384, allocations: 183.4 kB / 394.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.09401, allocations: 54.64 kB / 395 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.09414, allocations: 79.7 kB / 395.1 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.09429, allocations: 91.53 kB / 395.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.09432, allocations: 12 kB / 395.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.09439, allocations: 20 kB / 395.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.09445, allocations: 51.83 kB / 395.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.02e-05/0.09454, allocations: 79.48 kB / 395.3 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.09482, allocations: 211 kB / 395.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.09483, allocations: 0 / 395.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09484, allocations: 0 / 395.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.09484, allocations: 0 / 395.5 MB, free: 5.266 MB / 318.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.000934/0.09578, allocations: 0.4985 MB / 396 MB, free: 4.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.09581, allocations: 16.03 kB / 396 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.15e-05/0.09583, allocations: 4.188 kB / 396 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.09589, allocations: 46.73 kB / 396.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.09594, allocations: 24.8 kB / 396.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.09624, allocations: 251.9 kB / 396.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.09626, allocations: 12.38 kB / 396.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.09629, allocations: 16.36 kB / 396.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.09669, allocations: 213.4 kB / 396.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.0967, allocations: 0 / 396.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.09673, allocations: 11.98 kB / 396.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.09675, allocations: 7.859 kB / 396.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.09708, allocations: 151.6 kB / 396.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.09821, allocations: 0.7817 MB / 397.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.09885, allocations: 182.7 kB / 397.7 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.099, allocations: 56.81 kB / 397.8 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.09903, allocations: 4 kB / 397.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.09931, allocations: 153 kB / 397.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.09931, allocations: 0 / 397.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006122/0.09993, allocations: 237.4 kB / 398.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.09999, allocations: 81.11 kB / 398.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1002, allocations: 226.8 kB / 398.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1002, allocations: 37.64 kB / 398.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1003, allocations: 144.4 kB / 398.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1004, allocations: 31.75 kB / 398.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.1005, allocations: 57.69 kB / 398.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1006, allocations: 330.8 kB / 399.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.1008, allocations: 67.95 kB / 399.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.101, allocations: 136.5 kB / 399.3 MB, free: 1.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.1014, allocations: 208.7 kB / 399.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1014, allocations: 0 / 399.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004886/0.1019, allocations: 261.1 kB / 399.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1019, allocations: 8 kB / 399.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1019, allocations: 0 / 399.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1019, allocations: 4 kB / 399.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.1021, allocations: 40.28 kB / 399.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1021, allocations: 4 kB / 399.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1023, allocations: 44 kB / 399.8 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.1023, allocations: 12 kB / 399.8 MB, free: 0.6367 MB / 318.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.0001822/0.1025, allocations: 148 kB / 400 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.1026, allocations: 15.91 kB / 400 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.1028, allocations: 131 kB / 400.1 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1029, allocations: 4 kB / 400.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1029, allocations: 0 / 400.1 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1029, allocations: 7.938 kB / 400.1 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007407/0.1036, allocations: 478.3 kB / 400.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1036, allocations: 0 / 400.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.1037, allocations: 23.98 kB / 400.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1037, allocations: 0 / 400.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1038, allocations: 7.922 kB / 400.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1038, allocations: 4 kB / 400.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.1038, allocations: 7.922 kB / 400.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.1042, allocations: 284.2 kB / 400.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.1043, allocations: 100.9 kB / 401 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.1044, allocations: 16 kB / 401 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1045, allocations: 15.97 kB / 401 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.1046, allocations: 23.97 kB / 401.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1046, allocations: 8 kB / 401.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1048, allocations: 144.4 kB / 401.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1048, allocations: 4 kB / 401.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.1051, allocations: 39.98 kB / 401.3 MB, free: 15.09 MB / 334.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.0008786/0.106, allocations: 0.8379 MB / 402.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.1064, allocations: 163.9 kB / 402.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1064, allocations: 0 / 402.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.1066, allocations: 80.33 kB / 402.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.107, allocations: 35.91 kB / 402.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.1098, allocations: 2.241 MB / 404.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1102, allocations: 0.728 MB / 405.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1103, allocations: 33.52 kB / 405.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1104, allocations: 63.42 kB / 405.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1104, allocations: 0 / 405.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.1313, allocations: 4.159 MB / 409.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.243, allocations: 3.984 kB / 409.6 MB, free: 6.504 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_IntegerNetwork1_fmu --startTime=0 --stopTime=10 --stepSize=0.00197941 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_IntegerNetwork1.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.386865846987348] Failed to read output from testmodel.py, exit status != 0: ['time', 'multiSwitch1.y', 'triggeredAdd.y'] 8.364715003001038 8.378808969 8.281197454 Calling exit ...