Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.0008021/0.0008021, 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.9162/0.9162, allocations: 177.1 MB / 199.4 MB, free: 5.918 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.001085/0.001085, allocations: 167.3 kB / 256 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.02233/0.02233, allocations: 6.664 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.Classes.MixedDeclaration,fileNamePrefix="HanserModelica_HanserModelica_Classes_MixedDeclaration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.MixedDeclaration,fileNamePrefix="HanserModelica_HanserModelica_Classes_MixedDeclaration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 445.4 MB, free: 37.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.157e-05, allocations: 2.281 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001896/0.001918, allocations: 1.288 MB / 446.7 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 4.992e-05/0.001968, allocations: 7.922 kB / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.001994, allocations: 0 / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.002032, allocations: 7.984 kB / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.002098, allocations: 11.88 kB / 446.7 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.662e-05/0.002115, allocations: 0 / 446.7 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.684e-05/0.002172, allocations: 4 kB / 446.7 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.113e-05/0.002233, allocations: 7.938 kB / 446.7 MB, free: 36.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.002262, allocations: 0 / 446.7 MB, free: 36.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.5e-05/0.002297, allocations: 7.984 kB / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.002315, allocations: 0 / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.002318, allocations: 0 / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.00233, allocations: 0 / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.641e-05/0.002346, allocations: 7.938 kB / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.223e-05/0.002398, allocations: 7.938 kB / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.0024, allocations: 4 kB / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.002402, allocations: 0 / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.002409, allocations: 0 / 446.7 MB, free: 36.29 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002353/0.002644, allocations: 246.4 kB / 447 MB, free: 36.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.002682, allocations: 8.031 kB / 447 MB, free: 36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.057e-05/0.002703, allocations: 30.75 kB / 447 MB, free: 35.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.744e-05/0.00272, allocations: 8.891 kB / 447 MB, free: 35.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.722e-05/0.002787, allocations: 109.8 kB / 447.1 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.002797, allocations: 384 / 447.1 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-06/0.002804, allocations: 4.375 kB / 447.1 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.941e-05/0.002863, allocations: 47.92 kB / 447.2 MB, free: 35.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.00287, allocations: 4.188 kB / 447.2 MB, free: 35.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.002877, allocations: 384 / 447.2 MB, free: 35.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.002881, allocations: 4.125 kB / 447.2 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.002896, allocations: 4 kB / 447.2 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.003078, allocations: 438.7 kB / 447.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.003112, allocations: 169.1 kB / 447.8 MB, free: 35.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.173e-05/0.003124, allocations: 80.14 kB / 447.9 MB, free: 35.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.003134, allocations: 79.22 kB / 447.9 MB, free: 34.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.00315, allocations: 109.8 kB / 448 MB, free: 34.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.00315, allocations: 0 / 448 MB, free: 34.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.623e-05/0.003197, allocations: 37.62 kB / 448.1 MB, free: 34.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.00322, allocations: 126.7 kB / 448.2 MB, free: 34.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/0.003274, allocations: 101.9 kB / 448.3 MB, free: 34.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-06/0.003277, allocations: 25.7 kB / 448.3 MB, free: 34.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.003307, allocations: 100 kB / 448.4 MB, free: 34.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.00331, allocations: 0 / 448.4 MB, free: 34.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.003332, allocations: 13.67 kB / 448.4 MB, free: 34.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.83e-05/0.00336, allocations: 314.8 kB / 448.8 MB, free: 34.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.003367, allocations: 4 kB / 448.8 MB, free: 34.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.003375, allocations: 13.72 kB / 448.8 MB, free: 34.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.003399, allocations: 21.72 kB / 448.8 MB, free: 34.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003401, allocations: 0 / 448.8 MB, free: 34.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.234e-05/0.003473, allocations: 49.81 kB / 448.8 MB, free: 33.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.003483, allocations: 4 kB / 448.8 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.003487, allocations: 4 kB / 448.8 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.003498, allocations: 0 / 448.8 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.156e-05/0.003539, allocations: 8 kB / 448.9 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.003544, allocations: 3.938 kB / 448.9 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.003561, allocations: 4.062 kB / 448.9 MB, free: 33.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.003565, allocations: 7.922 kB / 448.9 MB, free: 33.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 3.379e-05/0.003599, allocations: 189.1 kB / 449.1 MB, free: 33.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.003616, allocations: 108.9 kB / 449.2 MB, free: 33.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.578e-05/0.003632, allocations: 115.9 kB / 449.3 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.003643, allocations: 176.3 kB / 449.4 MB, free: 33.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.003655, allocations: 180.3 kB / 449.6 MB, free: 33.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.003666, allocations: 180.2 kB / 449.8 MB, free: 32.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.138e-05/0.003738, allocations: 376.3 kB / 450.2 MB, free: 32.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.003746, allocations: 104.9 kB / 450.3 MB, free: 32.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-06/0.003756, allocations: 116.9 kB / 450.4 MB, free: 32.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.00377, allocations: 184.3 kB / 450.6 MB, free: 32.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.003784, allocations: 180.2 kB / 450.7 MB, free: 31.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.003795, allocations: 176.3 kB / 450.9 MB, free: 31.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.003807, allocations: 184.2 kB / 451.1 MB, free: 31.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.04e-05/0.003847, allocations: 299.8 kB / 451.4 MB, free: 31.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.003863, allocations: 124.8 kB / 451.5 MB, free: 31.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.00388, allocations: 176.5 kB / 451.7 MB, free: 30.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.439e-05/0.003915, allocations: 104.9 kB / 451.8 MB, free: 30.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.003932, allocations: 188.3 kB / 452 MB, free: 30.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.003939, allocations: 101 kB / 452.1 MB, free: 30.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.891e-05/0.003958, allocations: 87.28 kB / 452.1 MB, free: 30.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003958, allocations: 0 / 452.1 MB, free: 30.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.004096, allocations: 7.938 kB / 452.2 MB, free: 30.44 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.0001266/0.004223, allocations: 0.8009 MB / 453 MB, free: 29.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.971e-05/0.004283, allocations: 4 kB / 453 MB, free: 29.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.004285, allocations: 3.938 kB / 453 MB, free: 29.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.004286, allocations: 0 / 453 MB, free: 29.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.004466, allocations: 455.7 kB / 453.4 MB, free: 29.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.00491, allocations: 1.297 MB / 454.7 MB, free: 27.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.525e-05/0.004935, allocations: 59.34 kB / 454.8 MB, free: 27.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.091e-05/0.004956, allocations: 0 / 454.8 MB, free: 27.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.004984, allocations: 8.5 kB / 454.8 MB, free: 27.68 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.004984, allocations: 0 / 454.8 MB, free: 27.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.02123, allocations: 1.615 MB / 456.4 MB, free: 26.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/6.621, allocations: 12.66 kB / 456.4 MB, free: 26.17 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Classes_MixedDeclaration_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Classes_MixedDeclaration.fmu > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.51375244744122] Failed to read output from testmodel.py, exit status != 0: 6.698921647854149 6.705588227 6.701713021 Calling exit ...