Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 104.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 195.8 kB / 299.8 MB, free: 9.832 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04135/0.04135, allocations: 8.931 MB / 363.6 MB, free: 10.19 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 86.39 kB / 486.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09914, allocations: 54.4 MB / 0.5278 GB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002372/0.1015, allocations: 1.25 MB / 0.529 GB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1034, allocations: 1.177 MB / 0.5302 GB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.1034, allocations: 0 / 0.5302 GB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.1038, allocations: 75.2 kB / 0.5302 GB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009364/0.1048, allocations: 398.5 kB / 0.5306 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.818e-06/0.1048, allocations: 0 / 0.5306 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.106, allocations: 0.7725 MB / 0.5314 GB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.106, allocations: 4 kB / 0.5314 GB, free: 13.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.106, allocations: 11.88 kB / 0.5314 GB, free: 13.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.1061, allocations: 15.88 kB / 0.5314 GB, free: 13.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.1061, allocations: 0 / 0.5314 GB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1062, allocations: 39.97 kB / 0.5314 GB, free: 13.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.1063, allocations: 19.91 kB / 0.5315 GB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.1063, allocations: 23.88 kB / 0.5315 GB, free: 13.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1064, allocations: 76.27 kB / 0.5315 GB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1064, allocations: 0 / 0.5315 GB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1065, allocations: 0 / 0.5315 GB, free: 13.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1065, allocations: 0 / 0.5315 GB, free: 13.38 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003922/0.1068, allocations: 383 kB / 0.5319 GB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1069, allocations: 12.03 kB / 0.5319 GB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/0.1069, allocations: 106 kB / 0.532 GB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.1073, allocations: 108.1 kB / 0.5321 GB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.1078, allocations: 363.2 kB / 0.5325 GB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.1078, allocations: 154.9 kB / 0.5326 GB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.1079, allocations: 154.9 kB / 0.5328 GB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.202e-05/0.108, allocations: 109.1 kB / 0.5329 GB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.108, allocations: 79.28 kB / 0.5329 GB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.1081, allocations: 150.6 kB / 0.5331 GB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-05/0.1082, allocations: 154.5 kB / 0.5332 GB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.722e-05/0.1082, allocations: 150.6 kB / 0.5334 GB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.1086, allocations: 461.9 kB / 0.5338 GB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.997e-05/0.1087, allocations: 181.2 kB / 0.534 GB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.1087, allocations: 80.14 kB / 0.5341 GB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1087, allocations: 75.28 kB / 0.5341 GB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.1088, allocations: 109.8 kB / 0.5343 GB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1088, allocations: 0 / 0.5343 GB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.735e-05/0.1089, allocations: 49.53 kB / 0.5343 GB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.109, allocations: 126.7 kB / 0.5344 GB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1091, allocations: 158.2 kB / 0.5346 GB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1092, allocations: 25.7 kB / 0.5346 GB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.1092, allocations: 104.1 kB / 0.5347 GB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.1092, allocations: 0 / 0.5347 GB, free: 9.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.1092, allocations: 9.719 kB / 0.5347 GB, free: 9.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1094, allocations: 326.8 kB / 0.535 GB, free: 9.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-06/0.1094, allocations: 0 / 0.535 GB, free: 9.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-06/0.1094, allocations: 0 / 0.535 GB, free: 9.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.1094, allocations: 75.28 kB / 0.5351 GB, free: 9.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-05/0.1095, allocations: 75.28 kB / 0.5352 GB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.428e-05/0.1095, allocations: 45.53 kB / 0.5352 GB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.1096, allocations: 79.28 kB / 0.5353 GB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/0.1096, allocations: 75.28 kB / 0.5353 GB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-05/0.1097, allocations: 154.6 kB / 0.5355 GB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.364e-05/0.1097, allocations: 83.22 kB / 0.5356 GB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-05/0.1098, allocations: 154.5 kB / 0.5357 GB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.1099, allocations: 83.22 kB / 0.5358 GB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.1099, allocations: 79.28 kB / 0.5359 GB, free: 8.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001482/0.1101, allocations: 272.4 kB / 0.5361 GB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.893e-05/0.1101, allocations: 116.9 kB / 0.5362 GB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.1102, allocations: 116.7 kB / 0.5364 GB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.199e-05/0.1103, allocations: 180.2 kB / 0.5365 GB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.618e-05/0.1104, allocations: 184.2 kB / 0.5367 GB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-05/0.1105, allocations: 180.3 kB / 0.5369 GB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1108, allocations: 425.2 kB / 0.5373 GB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-05/0.1108, allocations: 108.9 kB / 0.5374 GB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.1109, allocations: 108.9 kB / 0.5375 GB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.543e-05/0.1109, allocations: 180.2 kB / 0.5377 GB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/0.111, allocations: 180.3 kB / 0.5378 GB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.613e-05/0.1111, allocations: 176.3 kB / 0.538 GB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.459e-05/0.1112, allocations: 188.2 kB / 0.5382 GB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.1114, allocations: 315.7 kB / 0.5385 GB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.1115, allocations: 186 kB / 0.5387 GB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.1116, allocations: 184.2 kB / 0.5388 GB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.1116, allocations: 108.9 kB / 0.5389 GB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.828e-05/0.1117, allocations: 180.3 kB / 0.5391 GB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.1118, allocations: 104.9 kB / 0.5392 GB, free: 5.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1119, allocations: 132 kB / 0.5393 GB, free: 4.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1119, allocations: 0 / 0.5393 GB, free: 4.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1122, allocations: 0 / 0.5393 GB, free: 4.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004583/0.1126, allocations: 0.813 MB / 0.5401 GB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.342e-05/0.1127, allocations: 11.94 kB / 0.5401 GB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1127, allocations: 0 / 0.5401 GB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1127, allocations: 0 / 0.5401 GB, free: 4.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.1132, allocations: 471.7 kB / 0.5406 GB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1146, allocations: 1.806 MB / 0.5424 GB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1149, allocations: 0.6924 MB / 0.543 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.861e-05/0.115, allocations: 4 kB / 0.543 GB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.115, allocations: 19.44 kB / 0.5431 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.115, allocations: 0 / 0.5431 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.139, allocations: 1.797 MB / 0.5448 GB, free: 15.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.354, allocations: 3.75 kB / 0.5448 GB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer7over9.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.229021465405822] Failed to read output from testmodel.py, exit status != 0: 8.656340196728706 8.446799062 8.336363422 Calling exit ...