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.001521/0.001521, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.617/1.617, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.001593/0.001593, allocations: 204.2 kB / 310 MB, free: 3.062 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.04137/0.04137, allocations: 8.919 MB / 375.4 MB, free: 6.754 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.002469/0.002469, allocations: 87.86 kB / 0.49 GB, free: 44.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1334, allocations: 55.61 MB / 0.5443 GB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.002758/0.1361, allocations: 1.269 MB / 0.5455 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1383, allocations: 1.253 MB / 0.5467 GB, free: 2.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.1383, allocations: 0 / 0.5467 GB, free: 2.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.1388, allocations: 79.97 kB / 0.5468 GB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.1398, allocations: 445.5 kB / 0.5472 GB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.354e-06/0.1398, allocations: 4 kB / 0.5472 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.1415, allocations: 1.046 MB / 0.5482 GB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.1415, allocations: 4 kB / 0.5483 GB, free: 1.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.686e-05/0.1416, allocations: 11.94 kB / 0.5483 GB, free: 1.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.1416, allocations: 15.86 kB / 0.5483 GB, free: 1.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.1416, allocations: 0 / 0.5483 GB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1418, allocations: 51.95 kB / 0.5483 GB, free: 1.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1418, allocations: 19.92 kB / 0.5483 GB, free: 1.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.1419, allocations: 19.81 kB / 0.5484 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.142, allocations: 83.61 kB / 0.5484 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.142, allocations: 0 / 0.5484 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1421, allocations: 0 / 0.5484 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1421, allocations: 0 / 0.5484 GB, free: 0.9062 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.0003928/0.1425, allocations: 317.8 kB / 0.5487 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1425, allocations: 11.98 kB / 0.5488 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.114e-05/0.1425, allocations: 75.47 kB / 0.5488 GB, free: 492 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.1426, allocations: 110 kB / 0.5489 GB, free: 372 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.143, allocations: 112.1 kB / 0.549 GB, free: 260 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.1435, allocations: 322.1 kB / 0.5494 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.1435, allocations: 154.9 kB / 0.5495 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.1436, allocations: 150.9 kB / 0.5496 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.045e-05/0.1437, allocations: 108.9 kB / 0.5497 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.1437, allocations: 75.28 kB / 0.5498 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/0.1438, allocations: 154.6 kB / 0.55 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.1439, allocations: 150.6 kB / 0.5501 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.569e-05/0.1439, allocations: 154.5 kB / 0.5503 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.1442, allocations: 433 kB / 0.5507 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.1443, allocations: 177.1 kB / 0.5508 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.1444, allocations: 80.14 kB / 0.5509 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.1444, allocations: 79.22 kB / 0.551 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/0.1445, allocations: 109.8 kB / 0.5511 GB, free: 14.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1445, allocations: 0 / 0.5511 GB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.035e-05/0.1445, allocations: 37.61 kB / 0.5511 GB, free: 14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.1446, allocations: 130.7 kB / 0.5513 GB, free: 13.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1448, allocations: 175.2 kB / 0.5514 GB, free: 13.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1448, allocations: 25.7 kB / 0.5514 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.1449, allocations: 100.1 kB / 0.5515 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.1449, allocations: 0 / 0.5515 GB, free: 13.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.1449, allocations: 9.719 kB / 0.5516 GB, free: 13.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.145, allocations: 326.8 kB / 0.5519 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.145, allocations: 4 kB / 0.5519 GB, free: 13.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.145, allocations: 4.047 kB / 0.5519 GB, free: 13.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.1451, allocations: 75.28 kB / 0.5519 GB, free: 13.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.295e-05/0.1451, allocations: 79.22 kB / 0.552 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.91e-05/0.1452, allocations: 41.59 kB / 0.5521 GB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.1452, allocations: 79.28 kB / 0.5521 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/0.1453, allocations: 83.28 kB / 0.5522 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-05/0.1453, allocations: 158.5 kB / 0.5524 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.1454, allocations: 83.27 kB / 0.5524 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.165e-05/0.1454, allocations: 154.5 kB / 0.5526 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.1455, allocations: 75.28 kB / 0.5527 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.1455, allocations: 79.28 kB / 0.5527 GB, free: 12.29 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.000142/0.1457, allocations: 268.4 kB / 0.553 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.1458, allocations: 120.8 kB / 0.5531 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.1458, allocations: 121.5 kB / 0.5532 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.263e-05/0.1459, allocations: 180.2 kB / 0.5534 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.539e-05/0.146, allocations: 176.3 kB / 0.5536 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.317e-05/0.1461, allocations: 176.3 kB / 0.5537 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.1463, allocations: 404.2 kB / 0.5541 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-05/0.1464, allocations: 112.9 kB / 0.5542 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.1464, allocations: 104.9 kB / 0.5543 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.1465, allocations: 180.3 kB / 0.5545 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-05/0.1466, allocations: 180.2 kB / 0.5547 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-05/0.1467, allocations: 184.2 kB / 0.5548 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.909e-05/0.1468, allocations: 180.3 kB / 0.555 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1469, allocations: 312.1 kB / 0.5553 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.147, allocations: 120.9 kB / 0.5554 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/0.1471, allocations: 184.2 kB / 0.5556 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.1472, allocations: 101 kB / 0.5557 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.1473, allocations: 188.2 kB / 0.5559 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.1473, allocations: 108.9 kB / 0.556 GB, free: 8.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.91e-05/0.1474, allocations: 124.9 kB / 0.5561 GB, free: 8.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1474, allocations: 0 / 0.5561 GB, free: 8.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.1477, allocations: 4 kB / 0.5561 GB, free: 8.637 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.0004585/0.1482, allocations: 0.8242 MB / 0.5569 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.892e-05/0.1482, allocations: 0 / 0.5569 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.1482, allocations: 4 kB / 0.5569 GB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.1482, allocations: 0 / 0.5569 GB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.1487, allocations: 472.7 kB / 0.5574 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.1502, allocations: 1.824 MB / 0.5592 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1505, allocations: 0.6963 MB / 0.5598 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.1506, allocations: 4 kB / 0.5598 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.1506, allocations: 23.42 kB / 0.5599 GB, free: 4.66 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1506, allocations: 0 / 0.5599 GB, free: 4.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.173, allocations: 1.97 MB / 0.5618 GB, free: 2.816 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.47, allocations: 29.28 kB / 0.5618 GB, free: 2.797 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.930518419016153] Failed to read output from testmodel.py, exit status != 0: 12.648367801099084 12.928083227 12.783027110999999 Calling exit ...