Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002973/0.002973, allocations: 0.5771 MB / 303.3 MB, free: 9.23 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.88 kB / 421.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09303, allocations: 52.3 MB / 473.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.003038/0.09606, allocations: 1.662 MB / 475.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002924/0.09636, allocations: 95.67 kB / 475.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.09642, allocations: 7.938 kB / 475.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.42e-05/0.09647, allocations: 11.86 kB / 475.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.09659, allocations: 31.72 kB / 475.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.09671, allocations: 31.95 kB / 475.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.09687, allocations: 111.4 kB / 475.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.09699, allocations: 26.09 kB / 475.7 MB, free: 3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/0.09706, allocations: 39.92 kB / 475.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.09716, allocations: 47.77 kB / 475.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.09718, allocations: 8 kB / 475.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.0972, allocations: 12 kB / 475.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.09723, allocations: 15.92 kB / 475.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.09729, allocations: 51.8 kB / 475.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.09745, allocations: 111.8 kB / 476 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.09745, allocations: 0 / 476 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09746, allocations: 4 kB / 476 MB, free: 2.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.09747, allocations: 3.938 kB / 476 MB, free: 2.711 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005361/0.098, allocations: 399.3 kB / 476.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.09805, allocations: 11.89 kB / 476.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.0981, allocations: 42.73 kB / 476.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.09813, allocations: 8.891 kB / 476.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.09833, allocations: 192.2 kB / 476.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.09834, allocations: 8.562 kB / 476.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.09837, allocations: 20.34 kB / 476.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.09855, allocations: 89.8 kB / 476.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.09856, allocations: 0 / 476.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.09858, allocations: 7.984 kB / 476.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.09858, allocations: 0 / 476.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.0987, allocations: 58.03 kB / 476.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.09926, allocations: 392.6 kB / 477.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.09944, allocations: 98.48 kB / 477.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.0995, allocations: 32.8 kB / 477.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.09952, allocations: 7.984 kB / 477.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.09955, allocations: 34.56 kB / 477.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.09955, allocations: 0 / 477.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00117/0.1007, allocations: 0.6855 MB / 478.1 MB, free: 392 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1008, allocations: 51.41 kB / 478.1 MB, free: 328 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1009, allocations: 122.9 kB / 478.3 MB, free: 196 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1009, allocations: 25.7 kB / 478.3 MB, free: 164 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.101, allocations: 104.3 kB / 478.4 MB, free: 52 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.101, allocations: 63.53 kB / 478.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.1011, allocations: 37.66 kB / 478.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1012, allocations: 318.8 kB / 478.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.519e-05/0.1013, allocations: 43.92 kB / 478.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/0.1014, allocations: 54.56 kB / 478.9 MB, free: 15.52 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007647/0.1021, allocations: 412.4 kB / 479.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1021, allocations: 3.938 kB / 479.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002738/0.1024, allocations: 170.3 kB / 479.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1024, allocations: 4 kB / 479.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1024, allocations: 0 / 479.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.1025, allocations: 28.84 kB / 479.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.1026, allocations: 27.98 kB / 479.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.104, allocations: 1.611 MB / 481.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.1041, allocations: 8.031 kB / 481.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1041, allocations: 8.188 kB / 481.2 MB, free: 13.06 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1042, allocations: 146.6 kB / 481.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.1043, allocations: 7.953 kB / 481.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.1043, allocations: 12.84 kB / 481.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1043, allocations: 4 kB / 481.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1043, allocations: 3.938 kB / 481.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.1043, allocations: 3.984 kB / 481.3 MB, free: 12.88 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.1051, allocations: 0.5941 MB / 481.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1051, allocations: 0 / 481.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.1052, allocations: 27.94 kB / 482 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.315e-05/0.1053, allocations: 20.84 kB / 482 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1053, allocations: 4 kB / 482 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.1064, allocations: 1.367 MB / 483.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1064, allocations: 7.969 kB / 483.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.1067, allocations: 306.9 kB / 483.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.1068, allocations: 81.06 kB / 483.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1068, allocations: 7.938 kB / 483.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.1069, allocations: 4 kB / 483.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1069, allocations: 16.05 kB / 483.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1069, allocations: 8 kB / 483.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.721e-05/0.107, allocations: 91.7 kB / 483.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.107, allocations: 0 / 483.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.1073, allocations: 32 kB / 483.9 MB, free: 10.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.v) * 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 (15): * Single equations (assignments): 14 * 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.0007387/0.1081, allocations: 0.8362 MB / 484.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00047/0.1085, allocations: 230.4 kB / 484.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.1085, allocations: 4 kB / 485 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.1087, allocations: 158.6 kB / 485.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1091, allocations: 36.3 kB / 485.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.1112, allocations: 1.85 MB / 487 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1115, allocations: 0.7085 MB / 487.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.358e-05/0.1116, allocations: 13.08 kB / 487.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.1116, allocations: 31.42 kB / 487.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1116, allocations: 0 / 487.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.1407, allocations: 3.075 MB / 490.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.698/9.839, allocations: 11.39 kB / 490.8 MB, free: 3.148 MB / 350.1 MB " [Timeout remaining time 650] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.226024975068867] Failed to read output from testmodel.py, exit status != 0: 9.918913879897445 9.934140373 9.833785354 Calling exit ...