Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.001293/0.001293, allocations: 106.9 kB / 16.45 MB, free: 6.508 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.468/1.468, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001761/0.001761, allocations: 216 kB / 306 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.04112/0.04112, allocations: 8.905 MB / 371 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.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",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.002481/0.002481, allocations: 83.88 kB / 495.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.27, allocations: 55.56 MB / 0.5384 GB, free: 26.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001868/0.2719, allocations: 1.267 MB / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2733, allocations: 1.239 MB / 0.5408 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.2733, allocations: 3.938 kB / 0.5408 GB, free: 24.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.2737, allocations: 78.97 kB / 0.5409 GB, free: 24.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007949/0.2745, allocations: 435.6 kB / 0.5413 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.399e-06/0.2745, allocations: 0 / 0.5413 GB, free: 24.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2757, allocations: 1.027 MB / 0.5423 GB, free: 24.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.2757, allocations: 6.578 kB / 0.5423 GB, free: 24.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.2757, allocations: 10.12 kB / 0.5423 GB, free: 24.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.159e-05/0.2757, allocations: 9.781 kB / 0.5423 GB, free: 24.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.2758, allocations: 0 / 0.5423 GB, free: 24.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2759, allocations: 51.81 kB / 0.5424 GB, free: 24.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.2759, allocations: 28.36 kB / 0.5424 GB, free: 24.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.276, allocations: 22.22 kB / 0.5424 GB, free: 24.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2761, allocations: 81.55 kB / 0.5425 GB, free: 24.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2761, allocations: 0 / 0.5425 GB, free: 24.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2761, allocations: 0 / 0.5425 GB, free: 24.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2761, allocations: 0 / 0.5425 GB, free: 24.33 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.0002693/0.2764, allocations: 389.6 kB / 0.5429 GB, free: 23.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2764, allocations: 13.19 kB / 0.5429 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.436e-05/0.2764, allocations: 106 kB / 0.543 GB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.2768, allocations: 114.2 kB / 0.5431 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.2772, allocations: 380.3 kB / 0.5435 GB, free: 23.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.2772, allocations: 150.9 kB / 0.5436 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.2772, allocations: 154.9 kB / 0.5438 GB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.044e-05/0.2773, allocations: 112.1 kB / 0.5439 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2773, allocations: 75.28 kB / 0.5439 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.2773, allocations: 150.6 kB / 0.5441 GB, free: 22.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2773, allocations: 154.5 kB / 0.5442 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.2773, allocations: 150.6 kB / 0.5444 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.2775, allocations: 472.9 kB / 0.5448 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.2776, allocations: 165.1 kB / 0.545 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.2776, allocations: 80.14 kB / 0.5451 GB, free: 21.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.2776, allocations: 79.22 kB / 0.5451 GB, free: 21.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2776, allocations: 120 kB / 0.5452 GB, free: 21.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2776, allocations: 0 / 0.5452 GB, free: 21.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.898e-05/0.2777, allocations: 40.72 kB / 0.5453 GB, free: 21.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2777, allocations: 126.7 kB / 0.5454 GB, free: 21.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2778, allocations: 172 kB / 0.5456 GB, free: 21.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-06/0.2778, allocations: 25.7 kB / 0.5456 GB, free: 21.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.2779, allocations: 98.2 kB / 0.5457 GB, free: 21.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.2779, allocations: 0 / 0.5457 GB, free: 21.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.2779, allocations: 16.97 kB / 0.5457 GB, free: 21.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.2779, allocations: 321.5 kB / 0.546 GB, free: 20.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.2779, allocations: 0 / 0.546 GB, free: 20.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.278, allocations: 3.938 kB / 0.546 GB, free: 20.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.107e-05/0.278, allocations: 79.28 kB / 0.5461 GB, free: 20.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.278, allocations: 75.28 kB / 0.5462 GB, free: 20.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.886e-05/0.278, allocations: 43.8 kB / 0.5462 GB, free: 20.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.278, allocations: 80.75 kB / 0.5463 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2781, allocations: 82.41 kB / 0.5464 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/0.2781, allocations: 154.5 kB / 0.5465 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.095e-05/0.2781, allocations: 75.28 kB / 0.5466 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.2781, allocations: 157.8 kB / 0.5467 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.2782, allocations: 75.28 kB / 0.5468 GB, free: 19.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2782, allocations: 78.8 kB / 0.5469 GB, free: 19.87 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 6.612e-05/0.2782, allocations: 275.2 kB / 0.5471 GB, free: 19.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.2783, allocations: 119.4 kB / 0.5473 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.2783, allocations: 120 kB / 0.5474 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.2783, allocations: 183.4 kB / 0.5475 GB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/0.2783, allocations: 180.2 kB / 0.5477 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.2784, allocations: 192.2 kB / 0.5479 GB, free: 18.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2785, allocations: 424.8 kB / 0.5483 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.2785, allocations: 105 kB / 0.5484 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.2785, allocations: 112 kB / 0.5485 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/0.2785, allocations: 179.5 kB / 0.5487 GB, free: 17.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.2786, allocations: 180.3 kB / 0.5489 GB, free: 17.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.111e-05/0.2786, allocations: 184.2 kB / 0.549 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-05/0.2786, allocations: 182.8 kB / 0.5492 GB, free: 17.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.152e-05/0.2787, allocations: 310.2 kB / 0.5495 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.2787, allocations: 193.2 kB / 0.5497 GB, free: 16.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.2787, allocations: 183.4 kB / 0.5499 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.2788, allocations: 105 kB / 0.55 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.2788, allocations: 183.2 kB / 0.5501 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2788, allocations: 101.5 kB / 0.5502 GB, free: 16.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.369e-05/0.2789, allocations: 127.8 kB / 0.5504 GB, free: 16.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2789, allocations: 0 / 0.5504 GB, free: 16.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.2791, allocations: 3.188 kB / 0.5504 GB, free: 16.19 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.0002047/0.2794, allocations: 0.8233 MB / 0.5512 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.33e-05/0.2794, allocations: 3.516 kB / 0.5512 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2794, allocations: 0 / 0.5512 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.2794, allocations: 64 / 0.5512 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.2797, allocations: 466.1 kB / 0.5516 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.2807, allocations: 1.828 MB / 0.5534 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.2808, allocations: 0.6979 MB / 0.5541 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.37e-05/0.2808, allocations: 3.094 kB / 0.5541 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.2808, allocations: 26.03 kB / 0.5541 GB, free: 12.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2808, allocations: 4 kB / 0.5541 GB, free: 12.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.304, allocations: 1.842 MB / 0.5559 GB, free: 12.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.471, allocations: 7.828 kB / 0.5559 GB, free: 12.11 MB / 382.1 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.15940670800046] Failed to read output from testmodel.py, exit status != 0: 8.542473185007111 8.563791027 8.283280008 Calling exit ...