Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.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.00152/0.00152, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 230.6 MB / 250.5 MB, free: 9.207 MB / 206.1 MB " [Timeout remaining time 178] 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.001863/0.001863, allocations: 210.7 kB / 306.7 MB, free: 4.281 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04215/0.04215, allocations: 8.906 MB / 371.7 MB, free: 3.418 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 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.00253/0.00253, allocations: 87.81 kB / 496.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4511, allocations: 55.56 MB / 0.5391 GB, free: 26.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002456/0.4536, allocations: 1.262 MB / 0.5403 GB, free: 25.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.4558, allocations: 1.238 MB / 0.5415 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.4559, allocations: 0 / 0.5415 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.4565, allocations: 85.84 kB / 0.5416 GB, free: 24.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.4575, allocations: 412.1 kB / 0.542 GB, free: 24.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.449e-06/0.4575, allocations: 4 kB / 0.542 GB, free: 24.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.459, allocations: 1.036 MB / 0.543 GB, free: 24.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.4591, allocations: 3.188 kB / 0.543 GB, free: 24.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.4591, allocations: 11.23 kB / 0.543 GB, free: 24.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.427e-05/0.4591, allocations: 13.39 kB / 0.543 GB, free: 24.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.4591, allocations: 0 / 0.543 GB, free: 24.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.4593, allocations: 52.17 kB / 0.5431 GB, free: 24.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.4594, allocations: 28.48 kB / 0.5431 GB, free: 24.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.4594, allocations: 21.98 kB / 0.5431 GB, free: 24.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.4596, allocations: 85.62 kB / 0.5432 GB, free: 24.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4596, allocations: 0 / 0.5432 GB, free: 24.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4596, allocations: 0 / 0.5432 GB, free: 24.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.4597, allocations: 0 / 0.5432 GB, free: 24.29 MB / 382.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.0004258/0.4601, allocations: 387.4 kB / 0.5436 GB, free: 23.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.4601, allocations: 9.375 kB / 0.5436 GB, free: 23.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.452e-05/0.4602, allocations: 75.47 kB / 0.5436 GB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.4602, allocations: 109.2 kB / 0.5437 GB, free: 23.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.4606, allocations: 114 kB / 0.5439 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.4611, allocations: 380.4 kB / 0.5442 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.4612, allocations: 154.9 kB / 0.5444 GB, free: 23.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.4612, allocations: 150.9 kB / 0.5445 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.103e-05/0.4613, allocations: 112.9 kB / 0.5446 GB, free: 22.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4613, allocations: 79.22 kB / 0.5447 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.4613, allocations: 150.6 kB / 0.5448 GB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.4614, allocations: 153.7 kB / 0.545 GB, free: 22.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.4614, allocations: 154.6 kB / 0.5451 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.4617, allocations: 465.9 kB / 0.5456 GB, free: 21.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.4618, allocations: 173 kB / 0.5457 GB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.4619, allocations: 80.14 kB / 0.5458 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.4619, allocations: 82.34 kB / 0.5459 GB, free: 21.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.4619, allocations: 109.8 kB / 0.546 GB, free: 21.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/0.4619, allocations: 0 / 0.546 GB, free: 21.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.644e-05/0.462, allocations: 48.5 kB / 0.546 GB, free: 21.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.4621, allocations: 130.6 kB / 0.5462 GB, free: 21.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4622, allocations: 164.1 kB / 0.5463 GB, free: 21.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.4622, allocations: 25.7 kB / 0.5463 GB, free: 21.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.4623, allocations: 106.2 kB / 0.5465 GB, free: 20.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.4623, allocations: 0 / 0.5465 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.4623, allocations: 13.72 kB / 0.5465 GB, free: 20.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.4624, allocations: 321.6 kB / 0.5468 GB, free: 20.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-06/0.4624, allocations: 0 / 0.5468 GB, free: 20.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-06/0.4624, allocations: 0 / 0.5468 GB, free: 20.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.4624, allocations: 75.28 kB / 0.5468 GB, free: 20.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/0.4624, allocations: 75.28 kB / 0.5469 GB, free: 20.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.904e-05/0.4625, allocations: 44.03 kB / 0.547 GB, free: 20.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.4625, allocations: 81.56 kB / 0.547 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.4626, allocations: 83.22 kB / 0.5471 GB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.602e-05/0.4626, allocations: 153.9 kB / 0.5473 GB, free: 20.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.4626, allocations: 82.44 kB / 0.5473 GB, free: 20.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/0.4627, allocations: 150.6 kB / 0.5475 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.4628, allocations: 79.28 kB / 0.5476 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.4628, allocations: 82.41 kB / 0.5476 GB, free: 19.74 MB / 382.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.0001036/0.4629, allocations: 274.9 kB / 0.5479 GB, free: 19.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.4629, allocations: 111.9 kB / 0.548 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.463, allocations: 123.4 kB / 0.5481 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/0.463, allocations: 176.3 kB / 0.5483 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-05/0.463, allocations: 183.7 kB / 0.5485 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/0.4631, allocations: 187.4 kB / 0.5486 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.4633, allocations: 422 kB / 0.549 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-05/0.4633, allocations: 116.3 kB / 0.5492 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.4634, allocations: 101 kB / 0.5493 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-05/0.4634, allocations: 176.3 kB / 0.5494 GB, free: 17.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.4635, allocations: 187.6 kB / 0.5496 GB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.487e-05/0.4635, allocations: 179.5 kB / 0.5498 GB, free: 17.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.098e-05/0.4636, allocations: 184.2 kB / 0.5499 GB, free: 17.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.4637, allocations: 309.5 kB / 0.5502 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.4638, allocations: 193.5 kB / 0.5504 GB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.4639, allocations: 180.3 kB / 0.5506 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.4639, allocations: 111.6 kB / 0.5507 GB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.464, allocations: 180.2 kB / 0.5509 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.464, allocations: 104.9 kB / 0.551 GB, free: 16.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.227e-05/0.4641, allocations: 126.3 kB / 0.5511 GB, free: 16.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4641, allocations: 0 / 0.5511 GB, free: 16.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003365/0.4644, allocations: 2.969 kB / 0.5511 GB, free: 16.08 MB / 382.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.0003582/0.4648, allocations: 0.8223 MB / 0.5519 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.827e-05/0.4648, allocations: 0 / 0.5519 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4648, allocations: 0 / 0.5519 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.4649, allocations: 10.94 kB / 0.5519 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.4653, allocations: 468.8 kB / 0.5524 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4666, allocations: 1.823 MB / 0.5541 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.4668, allocations: 0.705 MB / 0.5548 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.4669, allocations: 7.109 kB / 0.5548 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.4669, allocations: 22.86 kB / 0.5549 GB, free: 12.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4669, allocations: 0 / 0.5549 GB, free: 12.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.4902, allocations: 1.883 MB / 0.5567 GB, free: 11.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.447/9.937, allocations: 11.95 kB / 0.5567 GB, free: 11.97 MB / 382.1 MB " [Timeout remaining time 650] (rm -f HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestSingleLayer12over12_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestSingleLayer12over12.fmu > HanserModelica_HanserModelica.Machines.TestSingleLayer12over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.000743899028748] Failed to read output from testmodel.py, exit status != 0: 10.062343236990273 10.080715838 9.616604491 Calling exit ...