Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.001421/0.001421, allocations: 116.7 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] 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.001452/0.001452, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.003549/0.003549, allocations: 0.5812 MB / 310.1 MB, free: 3.348 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 65.23 kB / 430.7 MB, free: 41.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.09169, allocations: 53.49 MB / 484.2 MB, free: 18.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.00148/0.09317, allocations: 0.5108 MB / 484.7 MB, free: 18.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001514/0.09333, allocations: 30.52 kB / 484.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.09335, allocations: 0 / 484.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.09337, allocations: 3.938 kB / 484.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.176e-05/0.0934, allocations: 0 / 484.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.09354, allocations: 7.016 kB / 484.7 MB, free: 18.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.061e-05/0.09359, allocations: 19 kB / 484.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.09363, allocations: 6.984 kB / 484.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.889e-05/0.09365, allocations: 16.23 kB / 484.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.09371, allocations: 9.391 kB / 484.8 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.09372, allocations: 1.438 kB / 484.8 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.09373, allocations: 1.5 kB / 484.8 MB, free: 18.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.09374, allocations: 5.5 kB / 484.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.09376, allocations: 6.406 kB / 484.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.436e-05/0.09383, allocations: 19.81 kB / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.09383, allocations: 0 / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09383, allocations: 0 / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.09384, allocations: 0 / 484.8 MB, free: 18.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003336/0.09417, allocations: 338 kB / 485.2 MB, free: 18.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.09421, allocations: 9.688 kB / 485.2 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.101e-05/0.09424, allocations: 2.094 kB / 485.2 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.194e-05/0.09426, allocations: 35.86 kB / 485.2 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.09428, allocations: 2.188 kB / 485.2 MB, free: 18.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.074e-05/0.09435, allocations: 161.4 kB / 485.4 MB, free: 17.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.09436, allocations: 6.969 kB / 485.4 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.09439, allocations: 6.156 kB / 485.4 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.731e-05/0.09448, allocations: 50.56 kB / 485.4 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.0945, allocations: 7.953 kB / 485.4 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.09451, allocations: 5.75 kB / 485.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.09451, allocations: 3.984 kB / 485.4 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.97e-05/0.09455, allocations: 11.8 kB / 485.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.09487, allocations: 297 kB / 485.7 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.09495, allocations: 49.84 kB / 485.8 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.095e-05/0.09498, allocations: 12.3 kB / 485.8 MB, free: 17.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.09499, allocations: 1.344 kB / 485.8 MB, free: 17.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.095, allocations: 31.81 kB / 485.8 MB, free: 17.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.095, allocations: 0 / 485.8 MB, free: 17.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003607/0.09536, allocations: 163.7 kB / 486 MB, free: 17.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.09539, allocations: 51.41 kB / 486 MB, free: 17.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.385e-05/0.09544, allocations: 101.8 kB / 486.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.09545, allocations: 26.92 kB / 486.2 MB, free: 17.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.09548, allocations: 89.22 kB / 486.3 MB, free: 17.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.0955, allocations: 9.875 kB / 486.3 MB, free: 17.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.09553, allocations: 21.73 kB / 486.3 MB, free: 16.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.09559, allocations: 319.8 kB / 486.6 MB, free: 16.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.09561, allocations: 5.188 kB / 486.6 MB, free: 16.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.09563, allocations: 24.02 kB / 486.6 MB, free: 16.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.09568, allocations: 38.41 kB / 486.7 MB, free: 16.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.09568, allocations: 0 / 486.7 MB, free: 16.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.915e-05/0.09576, allocations: 57.94 kB / 486.7 MB, free: 16.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.09577, allocations: 5.469 kB / 486.7 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.09578, allocations: 1.156 kB / 486.7 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.09579, allocations: 0 / 486.7 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.09589, allocations: 19.11 kB / 486.7 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.09589, allocations: 1.375 kB / 486.7 MB, free: 16.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.09591, allocations: 13.3 kB / 486.8 MB, free: 16.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.09592, allocations: 9.141 kB / 486.8 MB, free: 16.55 MB / 350.1 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 (6): * Single equations (assignments): 6 * 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.474e-05/0.09596, allocations: 107.9 kB / 486.9 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.09599, allocations: 1.188 kB / 486.9 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.09601, allocations: 8.719 kB / 486.9 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.09601, allocations: 0 / 486.9 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.09602, allocations: 1.312 kB / 486.9 MB, free: 16.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.09602, allocations: 3.984 kB / 486.9 MB, free: 16.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.09613, allocations: 164.2 kB / 487 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.09613, allocations: 5.438 kB / 487.1 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.09617, allocations: 2.812 kB / 487.1 MB, free: 16.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.0963, allocations: 15.44 kB / 487.1 MB, free: 16.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.09631, allocations: 12.81 kB / 487.1 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/0.09693, allocations: 1.356 MB / 488.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09693, allocations: 0 / 488.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.09708, allocations: 177.7 kB / 488.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.0971, allocations: 82.16 kB / 488.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-06/0.09711, allocations: 1.125 kB / 488.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.09716, allocations: 96 / 488.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.09717, allocations: 10.36 kB / 488.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.09718, allocations: 1.25 kB / 488.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.994e-05/0.0972, allocations: 77.69 kB / 488.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.0972, allocations: 0 / 488.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000228/0.09743, allocations: 4.688 kB / 488.8 MB, free: 14.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003202/0.09775, allocations: 0.7124 MB / 489.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.435e-05/0.09783, allocations: 26.64 kB / 489.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.09783, allocations: 0 / 489.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.098, allocations: 130.7 kB / 489.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.09821, allocations: 1.625 kB / 489.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007215/0.09894, allocations: 1.244 MB / 490.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.09904, allocations: 0.6799 MB / 491.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.09906, allocations: 2.094 kB / 491.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.09909, allocations: 8.594 kB / 491.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09909, allocations: 1.062 kB / 491.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.1195, allocations: 1.56 MB / 493.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.34, allocations: 10.03 kB / 493.2 MB, free: 10.82 MB / 350.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.041127316013444] Failed to read output from testmodel.py, exit status != 0: 10.645423108013347 10.485059817 10.38920723 Calling exit ...