Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.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.001109/0.001109, 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.8864/0.8864, 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.001041/0.001041, 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.0244/0.0244, allocations: 6.664 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.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.445e-05, allocations: 2.281 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.002126/0.00215, allocations: 1.261 MB / 446.7 MB, free: 36.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003314, allocations: 1.144 MB / 447.8 MB, free: 35.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.00335, allocations: 4 kB / 447.8 MB, free: 35.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.003722, allocations: 79.62 kB / 447.9 MB, free: 35.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006886/0.00441, allocations: 422.2 kB / 448.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.899e-06/0.004415, allocations: 0 / 448.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.005257, allocations: 1.038 MB / 449.3 MB, free: 33.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.005298, allocations: 4 kB / 449.3 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.45e-05/0.005332, allocations: 11.94 kB / 449.3 MB, free: 33.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.00536, allocations: 11.98 kB / 449.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.005371, allocations: 4 kB / 449.4 MB, free: 33.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.005482, allocations: 47.84 kB / 449.4 MB, free: 33.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.005528, allocations: 23.91 kB / 449.4 MB, free: 33.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.005545, allocations: 12 kB / 449.4 MB, free: 33.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.005672, allocations: 79.67 kB / 449.5 MB, free: 33.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.005675, allocations: 4 kB / 449.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005677, allocations: 0 / 449.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.005681, allocations: 0 / 449.5 MB, free: 33.49 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.0002196/0.0059, allocations: 305.8 kB / 449.8 MB, free: 33.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.005936, allocations: 12.03 kB / 449.8 MB, free: 33.15 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.023e-05/0.005956, allocations: 110 kB / 449.9 MB, free: 33.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.006183, allocations: 108.1 kB / 450.1 MB, free: 32.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.006479, allocations: 335.4 kB / 450.4 MB, free: 32.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.006494, allocations: 150.9 kB / 450.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.006503, allocations: 154.9 kB / 450.7 MB, free: 32.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.448e-05/0.006538, allocations: 101.5 kB / 450.8 MB, free: 32.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006546, allocations: 79.47 kB / 450.9 MB, free: 32.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.00656, allocations: 154.7 kB / 451 MB, free: 31.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.006572, allocations: 150.6 kB / 451.2 MB, free: 31.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.006587, allocations: 150.6 kB / 451.3 MB, free: 31.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.006713, allocations: 441 kB / 451.7 MB, free: 31.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.535e-05/0.006748, allocations: 173.1 kB / 451.9 MB, free: 30.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.079e-05/0.006759, allocations: 84.14 kB / 452 MB, free: 30.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.006768, allocations: 75.28 kB / 452.1 MB, free: 30.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.006783, allocations: 105.8 kB / 452.2 MB, free: 30.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.006784, allocations: 0 / 452.2 MB, free: 30.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.456e-05/0.006839, allocations: 41.55 kB / 452.2 MB, free: 30.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.006861, allocations: 134.6 kB / 452.3 MB, free: 30.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.792e-05/0.006959, allocations: 171.3 kB / 452.5 MB, free: 30.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-06/0.006963, allocations: 25.7 kB / 452.5 MB, free: 30.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.006994, allocations: 100.1 kB / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.006996, allocations: 0 / 452.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.007009, allocations: 13.72 kB / 452.6 MB, free: 30.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.894e-05/0.007038, allocations: 322.8 kB / 452.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.007042, allocations: 0 / 452.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-06/0.007046, allocations: 0 / 452.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-06/0.007054, allocations: 83.22 kB / 453 MB, free: 29.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.00706, allocations: 79.28 kB / 453.1 MB, free: 29.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.926e-05/0.007089, allocations: 33.66 kB / 453.1 MB, free: 29.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.007106, allocations: 86.09 kB / 453.2 MB, free: 29.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.007115, allocations: 79.22 kB / 453.3 MB, free: 29.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.007138, allocations: 154.5 kB / 453.5 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-06/0.007144, allocations: 83.22 kB / 453.5 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.007157, allocations: 158.5 kB / 453.7 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.007191, allocations: 79.28 kB / 453.8 MB, free: 29.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.007198, allocations: 83.27 kB / 453.8 MB, free: 28.96 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.814e-05/0.007246, allocations: 273 kB / 454.1 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.007264, allocations: 108.9 kB / 454.2 MB, free: 28.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.007285, allocations: 129.1 kB / 454.3 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.007299, allocations: 184.2 kB / 454.5 MB, free: 28.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.007312, allocations: 176.3 kB / 454.7 MB, free: 28.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.007327, allocations: 188.2 kB / 454.9 MB, free: 27.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.161e-05/0.007408, allocations: 400.3 kB / 455.3 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.007417, allocations: 104.9 kB / 455.4 MB, free: 27.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-06/0.007424, allocations: 101 kB / 455.5 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.007438, allocations: 180.3 kB / 455.7 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.007455, allocations: 180.2 kB / 455.8 MB, free: 26.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.339e-05/0.007468, allocations: 188.2 kB / 456 MB, free: 26.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.00748, allocations: 180.2 kB / 456.2 MB, free: 26.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.787e-05/0.007528, allocations: 311.7 kB / 456.5 MB, free: 26.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.007545, allocations: 113.3 kB / 456.6 MB, free: 26.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.007565, allocations: 180.3 kB / 456.8 MB, free: 25.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.007596, allocations: 108.9 kB / 456.9 MB, free: 25.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.007615, allocations: 192.3 kB / 457.1 MB, free: 25.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.007622, allocations: 104.9 kB / 457.2 MB, free: 25.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.476e-05/0.007667, allocations: 127.9 kB / 457.3 MB, free: 25.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007667, allocations: 0 / 457.3 MB, free: 25.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.007823, allocations: 4 kB / 457.3 MB, free: 25.3 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.0001484/0.007971, allocations: 0.8048 MB / 458.1 MB, free: 24.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.291e-05/0.008004, allocations: 8 kB / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.008006, allocations: 0 / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.008007, allocations: 3.938 kB / 458.1 MB, free: 24.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.00826, allocations: 479.5 kB / 458.6 MB, free: 23.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.008917, allocations: 1.813 MB / 460.4 MB, free: 22.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.00896, allocations: 83.06 kB / 460.5 MB, free: 21.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.504e-05/0.008995, allocations: 4 kB / 460.5 MB, free: 21.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.009033, allocations: 32.42 kB / 460.5 MB, free: 21.95 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009034, allocations: 0 / 460.5 MB, free: 21.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.02338, allocations: 2.513 MB / 463 MB, free: 19.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/6.733, allocations: 6.609 kB / 463 MB, free: 19.56 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; mkfifo HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe >> ../files/HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12.fmu > HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.57576162647456] Failed to read output from testmodel.py, exit status != 0: 6.811788905411959 6.817353702 6.809795484 Calling exit ...