Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001322/0.001322, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001645/0.001645, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002869/0.002869, allocations: 0.5781 MB / 313.8 MB, free: 2.508 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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.91 kB / 436 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1011, allocations: 53.53 MB / 489.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002839/0.104, allocations: 1.673 MB / 491.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.1042, allocations: 107.6 kB / 491.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.1043, allocations: 0 / 491.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.256e-05/0.1043, allocations: 15.86 kB / 491.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1044, allocations: 31.7 kB / 491.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.1046, allocations: 19.97 kB / 491.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1047, allocations: 107.5 kB / 491.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1048, allocations: 27.98 kB / 491.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.1049, allocations: 43.91 kB / 491.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.105, allocations: 43.78 kB / 491.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.105, allocations: 12 kB / 491.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.105, allocations: 8 kB / 491.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.1051, allocations: 19.92 kB / 491.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.1051, allocations: 51.73 kB / 491.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1053, allocations: 111.8 kB / 491.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1053, allocations: 0 / 491.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1053, allocations: 0 / 491.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1053, allocations: 0 / 491.7 MB, free: 9.191 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.0005078/0.1058, allocations: 326.2 kB / 492.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1059, allocations: 12.03 kB / 492.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.496e-05/0.1059, allocations: 384 / 492.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.1059, allocations: 42.73 kB / 492.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.1059, allocations: 12.84 kB / 492.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.1061, allocations: 134.3 kB / 492.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1061, allocations: 4.562 kB / 492.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.1062, allocations: 20.08 kB / 492.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1063, allocations: 93.66 kB / 492.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1064, allocations: 0 / 492.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1064, allocations: 7.938 kB / 492.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1064, allocations: 0 / 492.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1065, allocations: 59.91 kB / 492.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.1071, allocations: 351.8 kB / 492.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1072, allocations: 98.55 kB / 492.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.1073, allocations: 32.84 kB / 492.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.1073, allocations: 3.938 kB / 492.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1073, allocations: 38.56 kB / 493 MB, free: 7.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.1073, allocations: 0 / 493 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001079/0.1084, allocations: 0.5394 MB / 493.5 MB, free: 7.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1085, allocations: 51.41 kB / 493.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1086, allocations: 125.8 kB / 493.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1086, allocations: 29.7 kB / 493.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.1087, allocations: 104.3 kB / 493.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.1087, allocations: 63.47 kB / 493.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.1088, allocations: 33.72 kB / 493.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1089, allocations: 322.8 kB / 494.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.109, allocations: 35.98 kB / 494.2 MB, free: 6.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1091, allocations: 66.48 kB / 494.3 MB, free: 6.371 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.1097, allocations: 224.6 kB / 494.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1097, allocations: 0 / 494.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002244/0.1099, allocations: 141.6 kB / 494.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1099, allocations: 4 kB / 494.7 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1099, allocations: 0 / 494.7 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1099, allocations: 7.984 kB / 494.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1101, allocations: 35.92 kB / 494.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1101, allocations: 3.938 kB / 494.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1102, allocations: 12.03 kB / 494.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1102, allocations: 4 kB / 494.7 MB, free: 5.938 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * 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 0.0001193/0.1103, allocations: 129.7 kB / 494.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.1103, allocations: 15.95 kB / 494.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.1104, allocations: 12.78 kB / 494.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1104, allocations: 4 kB / 494.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1104, allocations: 3.938 kB / 494.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1104, allocations: 0 / 494.9 MB, free: 5.762 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.0007385/0.1111, allocations: 0.5641 MB / 495.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1111, allocations: 0 / 495.5 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1113, allocations: 35.86 kB / 495.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.1114, allocations: 12.86 kB / 495.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1114, allocations: 16.08 kB / 495.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.1125, allocations: 1.26 MB / 496.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1125, allocations: 4.031 kB / 496.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.1129, allocations: 302.8 kB / 497.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.1129, allocations: 20.06 kB / 497.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1129, allocations: 0 / 497.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.113, allocations: 7.938 kB / 497.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1131, allocations: 15.97 kB / 497.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1131, allocations: 8 kB / 497.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.411e-05/0.1131, allocations: 91.27 kB / 497.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1131, allocations: 0 / 497.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1134, allocations: 28 kB / 497.2 MB, free: 3.176 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.0007126/0.1141, allocations: 0.8393 MB / 498.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1144, allocations: 103.9 kB / 498.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1144, allocations: 0 / 498.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.1146, allocations: 162.6 kB / 498.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.115, allocations: 19.5 kB / 498.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1169, allocations: 1.796 MB / 0.4884 GB, free: 108 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1173, allocations: 0.7083 MB / 0.4891 GB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.1173, allocations: 17.02 kB / 0.4891 GB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.1174, allocations: 27.44 kB / 0.4892 GB, free: 15.33 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1174, allocations: 4 kB / 0.4892 GB, free: 15.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.1424, allocations: 3.117 MB / 0.4922 GB, free: 12.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.92, allocations: 14.61 kB / 0.4922 GB, free: 12.4 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.763354844006244] Failed to read output from testmodel.py, exit status != 0: 12.087194952007849 12.313187805 11.9976659 Calling exit ...