Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.001332/0.001332, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001515/0.001515, allocations: 215 kB / 20.13 MB, free: 2.949 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.51/1.51, 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.002849/0.002849, allocations: 0.5674 MB / 310.1 MB, free: 3.395 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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.59 kB / 430.7 MB, free: 41.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08552/0.08753, allocations: 53.49 MB / 484.2 MB, free: 19.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002388/0.08991, allocations: 1.649 MB / 485.8 MB, free: 17.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002436/0.09016, allocations: 105.6 kB / 485.9 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.09022, allocations: 1.125 kB / 485.9 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.397e-05/0.09027, allocations: 14.11 kB / 485.9 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.799e-05/0.09036, allocations: 35.12 kB / 486 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.09047, allocations: 27.27 kB / 486 MB, free: 17.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.09058, allocations: 106.4 kB / 486.1 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.09069, allocations: 21.77 kB / 486.1 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.09075, allocations: 43.02 kB / 486.2 MB, free: 17.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.09083, allocations: 50.27 kB / 486.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.09085, allocations: 8.656 kB / 486.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.09087, allocations: 9.156 kB / 486.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.09089, allocations: 18.2 kB / 486.3 MB, free: 17.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.09094, allocations: 52.95 kB / 486.3 MB, free: 17.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.09106, allocations: 107.5 kB / 486.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.09107, allocations: 0 / 486.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09107, allocations: 0 / 486.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.09107, allocations: 1.219 kB / 486.4 MB, free: 17.35 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000412/0.09149, allocations: 398 kB / 486.8 MB, free: 16.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.09152, allocations: 10.09 kB / 486.8 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.352e-05/0.09153, allocations: 2.562 kB / 486.8 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.09156, allocations: 46.52 kB / 486.9 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.09159, allocations: 13.62 kB / 486.9 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.09173, allocations: 191.9 kB / 487.1 MB, free: 16.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.09174, allocations: 4.188 kB / 487.1 MB, free: 16.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.09177, allocations: 18.8 kB / 487.1 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.09193, allocations: 100.3 kB / 487.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.09194, allocations: 0 / 487.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.09195, allocations: 1.094 kB / 487.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.09196, allocations: 3.406 kB / 487.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.09206, allocations: 66.11 kB / 487.3 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.09248, allocations: 380.5 kB / 487.6 MB, free: 16.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.09263, allocations: 100.3 kB / 487.7 MB, free: 16.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.09269, allocations: 29.36 kB / 487.8 MB, free: 16.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.0927, allocations: 1.156 kB / 487.8 MB, free: 16.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.09271, allocations: 39.73 kB / 487.8 MB, free: 16.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.09271, allocations: 0 / 487.8 MB, free: 16.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009365/0.09365, allocations: 0.6905 MB / 488.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.09367, allocations: 52.5 kB / 488.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.09375, allocations: 118.9 kB / 488.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.09376, allocations: 29.7 kB / 488.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.09379, allocations: 103.3 kB / 488.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.09382, allocations: 63.02 kB / 488.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.09387, allocations: 36.23 kB / 488.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.09391, allocations: 325.4 kB / 489.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.09397, allocations: 35.25 kB / 489.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.09404, allocations: 66.36 kB / 489.3 MB, free: 14.65 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.0006512/0.09469, allocations: 410.4 kB / 489.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.09469, allocations: 3.938 kB / 489.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002338/0.09492, allocations: 155.9 kB / 489.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.09494, allocations: 5.781 kB / 489.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.09494, allocations: 1.094 kB / 489.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.09506, allocations: 39.94 kB / 489.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.09516, allocations: 22.95 kB / 489.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008402/0.096, allocations: 1.622 MB / 491.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.09605, allocations: 1.406 kB / 491.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.09606, allocations: 12.78 kB / 491.6 MB, free: 12.54 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 7.642e-05/0.09613, allocations: 132.6 kB / 491.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.09617, allocations: 9.453 kB / 491.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.0962, allocations: 18.06 kB / 491.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.0962, allocations: 1.469 kB / 491.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.0962, allocations: 1.219 kB / 491.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.0962, allocations: 0 / 491.7 MB, free: 12.39 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.0004945/0.0967, allocations: 0.5895 MB / 492.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.0967, allocations: 9.516 kB / 492.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.09682, allocations: 29.62 kB / 492.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.054e-05/0.09688, allocations: 17.62 kB / 492.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.0969, allocations: 6.906 kB / 492.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005513/0.09745, allocations: 1.37 MB / 493.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.09745, allocations: 1.156 kB / 493.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.09772, allocations: 304.9 kB / 494 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.09774, allocations: 88.52 kB / 494.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.09776, allocations: 6.562 kB / 494.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.09783, allocations: 5.125 kB / 494.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.09786, allocations: 10.2 kB / 494.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.09787, allocations: 12.06 kB / 494.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.594e-05/0.09791, allocations: 95.33 kB / 494.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09791, allocations: 0 / 494.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.09822, allocations: 31.12 kB / 494.3 MB, free: 9.887 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.0004124/0.09863, allocations: 0.8315 MB / 495.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.09899, allocations: 233.3 kB / 495.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.09899, allocations: 3.938 kB / 495.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.09914, allocations: 164.7 kB / 495.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.09948, allocations: 24.86 kB / 495.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.101, allocations: 1.861 MB / 497.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1011, allocations: 0.7036 MB / 498.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.1011, allocations: 14.94 kB / 498.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.1012, allocations: 29.83 kB / 498.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1012, allocations: 0 / 498.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.1243, allocations: 3.103 MB / 0.4895 GB, free: 4.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.47, allocations: 7.562 kB / 0.4895 GB, free: 4.879 MB / 350.1 MB " [Timeout remaining time 649] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.130896333022974] Failed to read output from testmodel.py, exit status != 0: 10.766614016960375 10.630991745 10.535525552 Calling exit ...