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.0008294/0.0008294, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.9148/0.9148, allocations: 177.1 MB / 199.4 MB, free: 5.91 MB / 186.7 MB " [Timeout remaining time 179] 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.001598/0.001598, allocations: 152.6 kB / 255.9 MB, free: 13.32 MB / 250.7 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.0222/0.0222, allocations: 6.668 MB / 319 MB, free: 26.75 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer7over9,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer7over9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 445.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.91e-05, allocations: 6.219 kB / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer7over9): time 0.001446/0.001465, allocations: 1.259 MB / 446.6 MB, free: 36.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.002588, allocations: 1.156 MB / 447.8 MB, free: 35.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.002622, allocations: 0 / 447.8 MB, free: 35.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.002991, allocations: 79.58 kB / 447.9 MB, free: 35.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.003709, allocations: 421.8 kB / 448.3 MB, free: 34.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.929e-06/0.003714, allocations: 0 / 448.3 MB, free: 34.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007236/0.004438, allocations: 0.8232 MB / 449.1 MB, free: 33.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.004481, allocations: 4 kB / 449.1 MB, free: 33.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.004515, allocations: 7.938 kB / 449.1 MB, free: 33.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.763e-05/0.004543, allocations: 23.97 kB / 449.1 MB, free: 33.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.004553, allocations: 0 / 449.1 MB, free: 33.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.004668, allocations: 43.91 kB / 449.2 MB, free: 33.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.004712, allocations: 19.92 kB / 449.2 MB, free: 33.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.887e-05/0.004731, allocations: 15.92 kB / 449.2 MB, free: 33.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.004858, allocations: 71.75 kB / 449.3 MB, free: 33.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004861, allocations: 0 / 449.3 MB, free: 33.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004862, allocations: 0 / 449.3 MB, free: 33.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004866, allocations: 3.938 kB / 449.3 MB, free: 33.7 MB / 330.7 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.0002137/0.00508, allocations: 309.8 kB / 449.6 MB, free: 33.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.005124, allocations: 8.031 kB / 449.6 MB, free: 33.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.216e-05/0.005146, allocations: 110 kB / 449.7 MB, free: 33.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.005358, allocations: 108.1 kB / 449.8 MB, free: 33.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.005634, allocations: 325.2 kB / 450.1 MB, free: 32.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.005648, allocations: 158.9 kB / 450.3 MB, free: 32.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.005658, allocations: 154.9 kB / 450.4 MB, free: 32.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.18e-05/0.00569, allocations: 105.5 kB / 450.6 MB, free: 32.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005697, allocations: 75.47 kB / 450.6 MB, free: 32.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.005711, allocations: 158.7 kB / 450.8 MB, free: 32.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.005723, allocations: 150.6 kB / 450.9 MB, free: 31.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.005738, allocations: 154.6 kB / 451.1 MB, free: 31.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.005866, allocations: 433 kB / 451.5 MB, free: 31.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/0.005901, allocations: 173.1 kB / 451.7 MB, free: 31.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.025e-05/0.005912, allocations: 84.14 kB / 451.8 MB, free: 31.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.005921, allocations: 75.28 kB / 451.8 MB, free: 31.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.005937, allocations: 105.8 kB / 451.9 MB, free: 30.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.005937, allocations: 3.938 kB / 451.9 MB, free: 30.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.156e-05/0.005989, allocations: 45.58 kB / 452 MB, free: 30.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.006014, allocations: 134.7 kB / 452.1 MB, free: 30.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006119, allocations: 158.3 kB / 452.3 MB, free: 30.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-06/0.006123, allocations: 25.7 kB / 452.3 MB, free: 30.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.006147, allocations: 96.14 kB / 452.4 MB, free: 30.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.006148, allocations: 0 / 452.4 MB, free: 30.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.006163, allocations: 13.72 kB / 452.4 MB, free: 30.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.139e-05/0.006194, allocations: 318.8 kB / 452.7 MB, free: 30.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-06/0.006198, allocations: 7.938 kB / 452.7 MB, free: 30.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-06/0.006201, allocations: 0 / 452.7 MB, free: 30.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.076e-06/0.006209, allocations: 75.28 kB / 452.8 MB, free: 30.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.006215, allocations: 75.28 kB / 452.9 MB, free: 29.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.898e-05/0.006244, allocations: 45.59 kB / 452.9 MB, free: 29.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.006259, allocations: 83.28 kB / 453 MB, free: 29.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.006268, allocations: 79.27 kB / 453.1 MB, free: 29.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.00629, allocations: 158.5 kB / 453.2 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-06/0.006298, allocations: 83.22 kB / 453.3 MB, free: 29.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.006311, allocations: 150.6 kB / 453.4 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.006343, allocations: 79.22 kB / 453.5 MB, free: 29.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.006349, allocations: 75.28 kB / 453.6 MB, free: 29.18 MB / 330.7 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 4.94e-05/0.006399, allocations: 272.4 kB / 453.9 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.006418, allocations: 108.9 kB / 454 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.00644, allocations: 132.5 kB / 454.1 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.006455, allocations: 180.2 kB / 454.3 MB, free: 28.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.00647, allocations: 180.2 kB / 454.5 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.006485, allocations: 180.3 kB / 454.6 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.431e-05/0.006569, allocations: 392.3 kB / 455 MB, free: 27.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.006579, allocations: 108.9 kB / 455.1 MB, free: 27.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-06/0.006587, allocations: 101 kB / 455.2 MB, free: 27.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.006603, allocations: 184.2 kB / 455.4 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.006619, allocations: 184.2 kB / 455.6 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.006632, allocations: 180.2 kB / 455.8 MB, free: 26.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.006644, allocations: 184.2 kB / 455.9 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.649e-05/0.006691, allocations: 315.7 kB / 456.2 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.006708, allocations: 109.3 kB / 456.3 MB, free: 26.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.00673, allocations: 184.2 kB / 456.5 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.178e-05/0.006761, allocations: 108.9 kB / 456.6 MB, free: 25.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.868e-05/0.00678, allocations: 180.3 kB / 456.8 MB, free: 25.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.006788, allocations: 112.9 kB / 456.9 MB, free: 25.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.263e-05/0.006831, allocations: 120.1 kB / 457 MB, free: 25.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006831, allocations: 0 / 457 MB, free: 25.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.007034, allocations: 4 kB / 457 MB, free: 25.54 MB / 330.7 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.0001402/0.007174, allocations: 0.8087 MB / 457.9 MB, free: 24.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.139e-05/0.007206, allocations: 7.938 kB / 457.9 MB, free: 24.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.007207, allocations: 0 / 457.9 MB, free: 24.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.007208, allocations: 0 / 457.9 MB, free: 24.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.007454, allocations: 482.4 kB / 458.3 MB, free: 24.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.008109, allocations: 1.795 MB / 460.1 MB, free: 22.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.011e-05/0.00815, allocations: 87.25 kB / 460.2 MB, free: 22.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.187e-05/0.008181, allocations: 7.984 kB / 460.2 MB, free: 22.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.008216, allocations: 28.48 kB / 460.2 MB, free: 22.2 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008217, allocations: 0 / 460.2 MB, free: 22.2 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.02321, allocations: 2.462 MB / 462.7 MB, free: 19.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.781, allocations: 10.81 kB / 462.7 MB, free: 19.86 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.686915050260723] Failed to read output from testmodel.py, exit status != 0: 6.860641184262931 6.870977925 6.864605966 Calling exit ...