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.0007855/0.0007855, 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.9125/0.9125, allocations: 177.1 MB / 199.4 MB, free: 5.934 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.001101/0.001101, allocations: 152.6 kB / 256 MB, free: 13.34 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.02208/0.02208, allocations: 6.661 MB / 319 MB, free: 26.77 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.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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 445.4 MB, free: 37.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.084e-05, allocations: 2.281 kB / 445.4 MB, free: 37.52 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestSingleLayer12over12): time 0.001479/0.0015, allocations: 1.26 MB / 446.6 MB, free: 36.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.002637, allocations: 1.148 MB / 447.8 MB, free: 35.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.002668, allocations: 0 / 447.8 MB, free: 35.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.003041, allocations: 79.64 kB / 447.9 MB, free: 35.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006467/0.003688, allocations: 410.2 kB / 448.3 MB, free: 34.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.003692, allocations: 0 / 448.3 MB, free: 34.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008238/0.004516, allocations: 1.042 MB / 449.3 MB, free: 33.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.004556, allocations: 4 kB / 449.3 MB, free: 33.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.004591, allocations: 23.84 kB / 449.3 MB, free: 33.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.63e-05/0.004618, allocations: 4 kB / 449.3 MB, free: 33.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.004627, allocations: 0 / 449.3 MB, free: 33.54 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.004747, allocations: 51.84 kB / 449.4 MB, free: 33.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.004791, allocations: 27.91 kB / 449.4 MB, free: 33.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.004815, allocations: 7.938 kB / 449.4 MB, free: 33.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.004951, allocations: 83.72 kB / 449.5 MB, free: 33.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004953, allocations: 7.938 kB / 449.5 MB, free: 33.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004954, allocations: 0 / 449.5 MB, free: 33.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.004958, allocations: 0 / 449.5 MB, free: 33.36 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.0002259/0.005184, allocations: 309.8 kB / 449.8 MB, free: 33.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.005225, allocations: 8.031 kB / 449.8 MB, free: 33.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.558e-05/0.00525, allocations: 106 kB / 449.9 MB, free: 32.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.005483, allocations: 112.1 kB / 450 MB, free: 32.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.005797, allocations: 327.4 kB / 450.4 MB, free: 32.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.005812, allocations: 158.9 kB / 450.5 MB, free: 32.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.005824, allocations: 150.9 kB / 450.7 MB, free: 32.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.72e-05/0.005861, allocations: 105.5 kB / 450.8 MB, free: 32.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005872, allocations: 75.47 kB / 450.8 MB, free: 31.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.005888, allocations: 154.7 kB / 451 MB, free: 31.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.005903, allocations: 154.6 kB / 451.1 MB, free: 31.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.005919, allocations: 154.5 kB / 451.3 MB, free: 31.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.00606, allocations: 437 kB / 451.7 MB, free: 31.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.006097, allocations: 169.1 kB / 451.9 MB, free: 30.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.00611, allocations: 80.14 kB / 452 MB, free: 30.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.006122, allocations: 83.27 kB / 452 MB, free: 30.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.006141, allocations: 113.8 kB / 452.2 MB, free: 30.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.006142, allocations: 0 / 452.2 MB, free: 30.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.291e-05/0.006195, allocations: 41.55 kB / 452.2 MB, free: 30.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.006219, allocations: 126.7 kB / 452.3 MB, free: 30.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.006321, allocations: 164.9 kB / 452.5 MB, free: 30.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-06/0.006324, allocations: 25.7 kB / 452.5 MB, free: 30.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.00635, allocations: 104.1 kB / 452.6 MB, free: 30.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.006352, allocations: 0 / 452.6 MB, free: 30.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.006365, allocations: 9.719 kB / 452.6 MB, free: 30.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.179e-05/0.006397, allocations: 326.8 kB / 452.9 MB, free: 29.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-06/0.006401, allocations: 0 / 452.9 MB, free: 29.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-06/0.006405, allocations: 0 / 452.9 MB, free: 29.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-06/0.006413, allocations: 75.28 kB / 453 MB, free: 29.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.00642, allocations: 79.22 kB / 453.1 MB, free: 29.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.913e-05/0.006449, allocations: 41.64 kB / 453.1 MB, free: 29.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.006465, allocations: 79.28 kB / 453.2 MB, free: 29.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.006474, allocations: 83.22 kB / 453.3 MB, free: 29.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.006502, allocations: 162.4 kB / 453.4 MB, free: 29.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-06/0.00651, allocations: 75.28 kB / 453.5 MB, free: 29.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.006526, allocations: 154.5 kB / 453.7 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.006563, allocations: 87.28 kB / 453.8 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.006571, allocations: 75.28 kB / 453.8 MB, free: 28.84 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 5.491e-05/0.006626, allocations: 272.4 kB / 454.1 MB, free: 28.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.00665, allocations: 120.9 kB / 454.2 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.006849, allocations: 117.3 kB / 454.3 MB, free: 28.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.006869, allocations: 188.1 kB / 454.5 MB, free: 28.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/0.00689, allocations: 176.3 kB / 454.7 MB, free: 27.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.006909, allocations: 180.2 kB / 454.9 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.007007, allocations: 396.2 kB / 455.2 MB, free: 27.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.007018, allocations: 105 kB / 455.3 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.00703, allocations: 112.9 kB / 455.5 MB, free: 27.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.007047, allocations: 176.3 kB / 455.6 MB, free: 26.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.007071, allocations: 184.2 kB / 455.8 MB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.758e-05/0.007088, allocations: 184.1 kB / 456 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-05/0.007105, allocations: 176.3 kB / 456.2 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.616e-05/0.007161, allocations: 315.7 kB / 456.5 MB, free: 26.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.00718, allocations: 109.3 kB / 456.6 MB, free: 25.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.007212, allocations: 188.2 kB / 456.8 MB, free: 25.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.007246, allocations: 108.9 kB / 456.9 MB, free: 25.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.007272, allocations: 180.2 kB / 457 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.007285, allocations: 113 kB / 457.2 MB, free: 25.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.205e-05/0.007347, allocations: 128.2 kB / 457.3 MB, free: 25.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007347, allocations: 4 kB / 457.3 MB, free: 25.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.007504, allocations: 0 / 457.3 MB, free: 25.18 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.0001954/0.0077, allocations: 0.8125 MB / 458.1 MB, free: 24.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.867e-05/0.007738, allocations: 3.984 kB / 458.1 MB, free: 24.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.00774, allocations: 0 / 458.1 MB, free: 24.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.007741, allocations: 4 kB / 458.1 MB, free: 24.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.008026, allocations: 474.4 kB / 458.6 MB, free: 23.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.00876, allocations: 1.823 MB / 460.4 MB, free: 21.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.008802, allocations: 87.05 kB / 460.5 MB, free: 21.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.448e-05/0.008826, allocations: 4 kB / 460.5 MB, free: 21.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.008858, allocations: 16.5 kB / 460.5 MB, free: 21.84 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008858, allocations: 4 kB / 460.5 MB, free: 21.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.0243, allocations: 2.514 MB / 463 MB, free: 19.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/6.734, allocations: 14.41 kB / 463 MB, free: 19.44 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.629736660048366] Failed to read output from testmodel.py, exit status != 0: 6.814823382534087 6.821678964 6.815352069 Calling exit ...