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.001399/0.001399, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.427/1.427, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.002242/0.002242, allocations: 222.6 kB / 309.2 MB, free: 3.109 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.04167/0.04167, allocations: 8.913 MB / 374.6 MB, free: 6.621 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestSingleLayer12over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestSingleLayer12over12",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.002543/0.002543, allocations: 85.75 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08757, allocations: 55.61 MB / 0.5434 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002408/0.08997, allocations: 1.257 MB / 0.5447 GB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.09194, allocations: 1.131 MB / 0.5458 GB, free: 2.668 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.09197, allocations: 7.938 kB / 0.5458 GB, free: 2.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.09237, allocations: 71.98 kB / 0.5458 GB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.09337, allocations: 418.4 kB / 0.5462 GB, free: 2.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.09337, allocations: 0 / 0.5462 GB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.09493, allocations: 1.038 MB / 0.5472 GB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.09498, allocations: 15.97 kB / 0.5473 GB, free: 1.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.095, allocations: 7.938 kB / 0.5473 GB, free: 1.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.09504, allocations: 15.88 kB / 0.5473 GB, free: 1.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.09505, allocations: 0 / 0.5473 GB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.09519, allocations: 39.97 kB / 0.5473 GB, free: 1.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.09527, allocations: 31.78 kB / 0.5474 GB, free: 1.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.09529, allocations: 15.88 kB / 0.5474 GB, free: 1.016 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.09548, allocations: 79.67 kB / 0.5474 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.09549, allocations: 7.938 kB / 0.5475 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.09549, allocations: 0 / 0.5475 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.0955, allocations: 0 / 0.5475 GB, free: 0.9297 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.0004192/0.09592, allocations: 305.8 kB / 0.5477 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.09596, allocations: 19.97 kB / 0.5478 GB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.284e-05/0.09604, allocations: 106 kB / 0.5479 GB, free: 480 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.09641, allocations: 112.1 kB / 0.548 GB, free: 368 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.09692, allocations: 322.1 kB / 0.5483 GB, free: 16 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/0.097, allocations: 150.9 kB / 0.5484 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.09708, allocations: 150.9 kB / 0.5486 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.808e-05/0.09716, allocations: 109.1 kB / 0.5487 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.0972, allocations: 79.28 kB / 0.5487 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.09727, allocations: 154.5 kB / 0.5489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.225e-05/0.09734, allocations: 150.6 kB / 0.549 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.09742, allocations: 150.6 kB / 0.5492 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.09774, allocations: 440.9 kB / 0.5496 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.09784, allocations: 169.1 kB / 0.5498 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.09789, allocations: 88.14 kB / 0.5498 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.09793, allocations: 79.22 kB / 0.5499 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.63e-05/0.09799, allocations: 109.8 kB / 0.55 GB, free: 14.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.09799, allocations: 0 / 0.55 GB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.432e-05/0.09808, allocations: 37.61 kB / 0.5501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.09815, allocations: 130.7 kB / 0.5502 GB, free: 13.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.09835, allocations: 163.3 kB / 0.5503 GB, free: 13.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.09837, allocations: 25.7 kB / 0.5504 GB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.09844, allocations: 104.1 kB / 0.5505 GB, free: 13.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.09845, allocations: 0 / 0.5505 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.09847, allocations: 13.72 kB / 0.5505 GB, free: 13.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.09863, allocations: 322.8 kB / 0.5508 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.09863, allocations: 0 / 0.5508 GB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.09864, allocations: 3.938 kB / 0.5508 GB, free: 13.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.09868, allocations: 79.33 kB / 0.5509 GB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-05/0.09873, allocations: 79.28 kB / 0.5509 GB, free: 13.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.954e-05/0.09879, allocations: 37.59 kB / 0.551 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.09884, allocations: 79.28 kB / 0.5511 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.09887, allocations: 79.28 kB / 0.5511 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.606e-05/0.09897, allocations: 158.5 kB / 0.5513 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.373e-05/0.09901, allocations: 83.27 kB / 0.5514 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.926e-05/0.09909, allocations: 158.5 kB / 0.5515 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.09917, allocations: 83.22 kB / 0.5516 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.09921, allocations: 75.28 kB / 0.5517 GB, free: 12.4 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.0001728/0.09939, allocations: 276.3 kB / 0.5519 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.09946, allocations: 116.9 kB / 0.552 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.09954, allocations: 121.5 kB / 0.5522 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.58e-05/0.09964, allocations: 180.2 kB / 0.5523 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-05/0.09972, allocations: 176.3 kB / 0.5525 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-05/0.09981, allocations: 180.3 kB / 0.5527 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.1001, allocations: 400.2 kB / 0.553 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-05/0.1001, allocations: 101 kB / 0.5531 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.1002, allocations: 108.9 kB / 0.5532 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-05/0.1003, allocations: 188.2 kB / 0.5534 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.112e-05/0.1004, allocations: 188.1 kB / 0.5536 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.46e-05/0.1005, allocations: 176.3 kB / 0.5538 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.548e-05/0.1005, allocations: 180.3 kB / 0.5539 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.1007, allocations: 316.1 kB / 0.5542 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.626e-05/0.1008, allocations: 124.8 kB / 0.5544 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.1009, allocations: 176.3 kB / 0.5545 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.101, allocations: 101 kB / 0.5546 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.1011, allocations: 188.2 kB / 0.5548 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.1011, allocations: 109 kB / 0.5549 GB, free: 8.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1012, allocations: 124.9 kB / 0.555 GB, free: 8.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1012, allocations: 0 / 0.555 GB, free: 8.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1015, allocations: 4 kB / 0.555 GB, free: 8.742 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.0004937/0.102, allocations: 0.8164 MB / 0.5558 GB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.984e-05/0.102, allocations: 4 kB / 0.5558 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.102, allocations: 0 / 0.5558 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.102, allocations: 0 / 0.5558 GB, free: 7.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.1025, allocations: 475.7 kB / 0.5563 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.1041, allocations: 1.816 MB / 0.5581 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.203e-05/0.1042, allocations: 87.25 kB / 0.5582 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.658e-05/0.1042, allocations: 0 / 0.5582 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.1043, allocations: 23.42 kB / 0.5582 GB, free: 5.398 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1043, allocations: 0 / 0.5582 GB, free: 5.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.1336, allocations: 2.397 MB / 0.5605 GB, free: 3.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11, allocations: 8.062 kB / 0.5605 GB, free: 3.113 MB / 382.1 MB " [Timeout remaining time 649] (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.848103820811957] Failed to read output from testmodel.py, exit status != 0: 11.103366689756513 11.320891289 11.222916492 Calling exit ...