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.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.001377/0.001377, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.585/1.585, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.00168/0.00168, allocations: 216.3 kB / 310 MB, free: 3.16 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.04101/0.04101, allocations: 8.924 MB / 375.4 MB, free: 6.82 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.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",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.002664/0.002664, allocations: 79.88 kB / 0.49 GB, free: 44.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1375, allocations: 55.61 MB / 0.5443 GB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.002707/0.1402, allocations: 1.28 MB / 0.5455 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1424, allocations: 1.253 MB / 0.5467 GB, free: 2.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.1425, allocations: 0 / 0.5467 GB, free: 2.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.1429, allocations: 79.97 kB / 0.5468 GB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.144, allocations: 434.3 kB / 0.5472 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.969e-06/0.144, allocations: 0 / 0.5472 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.1455, allocations: 0.8271 MB / 0.548 GB, free: 1.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.1455, allocations: 8 kB / 0.5481 GB, free: 1.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.618e-05/0.1456, allocations: 7.938 kB / 0.5481 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.1456, allocations: 23.84 kB / 0.5481 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.1456, allocations: 4 kB / 0.5481 GB, free: 1.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.1458, allocations: 43.92 kB / 0.5481 GB, free: 1.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.1459, allocations: 19.91 kB / 0.5481 GB, free: 1.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.1459, allocations: 15.88 kB / 0.5482 GB, free: 1.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1461, allocations: 83.61 kB / 0.5482 GB, free: 1.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1461, allocations: 4 kB / 0.5482 GB, free: 1.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1461, allocations: 0 / 0.5482 GB, free: 1.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1461, allocations: 0 / 0.5482 GB, free: 1.133 MB / 366.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.0004523/0.1466, allocations: 305.9 kB / 0.5485 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.1467, allocations: 15.98 kB / 0.5486 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.588e-05/0.1467, allocations: 79.47 kB / 0.5486 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.1468, allocations: 106 kB / 0.5487 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/0.1472, allocations: 108.1 kB / 0.5488 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.1478, allocations: 321.4 kB / 0.5491 GB, free: 156 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.1479, allocations: 154.9 kB / 0.5493 GB, free: 0 / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.1479, allocations: 155 kB / 0.5494 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.57e-05/0.148, allocations: 112.8 kB / 0.5495 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.148, allocations: 75.28 kB / 0.5496 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.1481, allocations: 154.6 kB / 0.5498 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.219e-05/0.1482, allocations: 150.6 kB / 0.5499 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.1482, allocations: 150.6 kB / 0.55 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.1485, allocations: 437 kB / 0.5505 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1487, allocations: 177.1 kB / 0.5506 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/0.1487, allocations: 80.14 kB / 0.5507 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.1488, allocations: 79.22 kB / 0.5508 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.819e-05/0.1488, allocations: 109.8 kB / 0.5509 GB, free: 14.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1488, allocations: 0 / 0.5509 GB, free: 14.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.818e-05/0.1489, allocations: 33.66 kB / 0.5509 GB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.149, allocations: 138.6 kB / 0.5511 GB, free: 14.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.1492, allocations: 158.2 kB / 0.5512 GB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1492, allocations: 25.7 kB / 0.5512 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.1493, allocations: 100.1 kB / 0.5513 GB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.1493, allocations: 3.938 kB / 0.5513 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.1493, allocations: 9.719 kB / 0.5513 GB, free: 13.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1495, allocations: 322.8 kB / 0.5516 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.1495, allocations: 4 kB / 0.5517 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-06/0.1495, allocations: 0 / 0.5517 GB, free: 13.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.1495, allocations: 75.28 kB / 0.5517 GB, free: 13.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.19e-05/0.1496, allocations: 83.28 kB / 0.5518 GB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.272e-05/0.1496, allocations: 37.59 kB / 0.5518 GB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.1497, allocations: 79.28 kB / 0.5519 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/0.1497, allocations: 79.22 kB / 0.552 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.118e-05/0.1498, allocations: 154.6 kB / 0.5521 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.656e-05/0.1498, allocations: 87.2 kB / 0.5522 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.368e-05/0.1499, allocations: 150.6 kB / 0.5524 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.15, allocations: 79.22 kB / 0.5524 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.15, allocations: 87.27 kB / 0.5525 GB, free: 12.54 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.0001621/0.1502, allocations: 272.3 kB / 0.5528 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.1502, allocations: 116.9 kB / 0.5529 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.1503, allocations: 120.7 kB / 0.553 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.991e-05/0.1504, allocations: 180.3 kB / 0.5532 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.033e-05/0.1505, allocations: 176.3 kB / 0.5533 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.969e-05/0.1506, allocations: 180.2 kB / 0.5535 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1509, allocations: 396.3 kB / 0.5539 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.976e-05/0.1509, allocations: 108.9 kB / 0.554 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.151, allocations: 105 kB / 0.5541 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.702e-05/0.1511, allocations: 180.3 kB / 0.5543 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-05/0.1512, allocations: 184.2 kB / 0.5544 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.062e-05/0.1512, allocations: 180.2 kB / 0.5546 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.427e-05/0.1513, allocations: 184.6 kB / 0.5548 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1515, allocations: 315.8 kB / 0.5551 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.1516, allocations: 120.9 kB / 0.5552 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1517, allocations: 180.3 kB / 0.5554 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1518, allocations: 104.9 kB / 0.5555 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/0.1519, allocations: 192.2 kB / 0.5557 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.1519, allocations: 104.9 kB / 0.5558 GB, free: 9.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1521, allocations: 119.2 kB / 0.5559 GB, free: 8.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1521, allocations: 0 / 0.5559 GB, free: 8.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1523, allocations: 4 kB / 0.5559 GB, free: 8.891 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.0004947/0.1528, allocations: 0.8126 MB / 0.5567 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.324e-05/0.1529, allocations: 4 kB / 0.5567 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1529, allocations: 0 / 0.5567 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1529, allocations: 7.875 kB / 0.5567 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.1534, allocations: 468.8 kB / 0.5571 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1551, allocations: 1.792 MB / 0.5589 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1554, allocations: 0.7001 MB / 0.5596 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.1555, allocations: 4 kB / 0.5596 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.1555, allocations: 15.44 kB / 0.5596 GB, free: 4.965 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1555, allocations: 0 / 0.5596 GB, free: 4.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.1778, allocations: 1.941 MB / 0.5615 GB, free: 3.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.18, allocations: 12.23 kB / 0.5615 GB, free: 3.145 MB / 382.1 MB " [Timeout remaining time 648] (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: 15.613379996968433] Failed to read output from testmodel.py, exit status != 0: 12.33713976398576 12.621784806 12.472720946 Calling exit ...