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.001349/0.001349, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001442/0.001442, allocations: 215.6 kB / 23.04 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.004976/0.004976, allocations: 0.5751 MB / 313.8 MB, free: 2.477 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.001864/0.001864, allocations: 59.91 kB / 436 MB, free: 17.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.1014, allocations: 53.53 MB / 489.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.003024/0.1045, allocations: 1.667 MB / 491.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.1048, allocations: 103.7 kB / 491.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.1049, allocations: 0 / 491.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/0.1049, allocations: 15.86 kB / 491.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.105, allocations: 31.7 kB / 491.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.1051, allocations: 27.91 kB / 491.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1053, allocations: 103.5 kB / 491.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1054, allocations: 27.97 kB / 491.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.1055, allocations: 43.86 kB / 491.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.83e-05/0.1056, allocations: 43.84 kB / 491.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1056, allocations: 8 kB / 491.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.1056, allocations: 8 kB / 491.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.1056, allocations: 19.92 kB / 491.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.1057, allocations: 55.72 kB / 491.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1059, allocations: 107.8 kB / 491.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1059, allocations: 0 / 491.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1059, allocations: 0 / 491.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1059, allocations: 0 / 491.7 MB, free: 9.164 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.0004841/0.1064, allocations: 322.2 kB / 492.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1064, allocations: 12.03 kB / 492.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.408e-05/0.1064, allocations: 4.375 kB / 492.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.1065, allocations: 42.73 kB / 492.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1065, allocations: 16.84 kB / 492.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.1067, allocations: 130.4 kB / 492.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1067, allocations: 8.562 kB / 492.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.1067, allocations: 20.08 kB / 492.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1069, allocations: 89.66 kB / 492.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1069, allocations: 3.938 kB / 492.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1069, allocations: 7.938 kB / 492.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1069, allocations: 4 kB / 492.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.107, allocations: 57.41 kB / 492.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.1076, allocations: 351.8 kB / 492.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1078, allocations: 98.48 kB / 492.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/0.1079, allocations: 32.86 kB / 492.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1079, allocations: 4 kB / 492.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1079, allocations: 30.56 kB / 492.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.1079, allocations: 0 / 492.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001092/0.109, allocations: 0.5433 MB / 493.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1091, allocations: 59.41 kB / 493.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1092, allocations: 117.8 kB / 493.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1092, allocations: 29.7 kB / 493.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.1093, allocations: 108.3 kB / 493.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.1093, allocations: 55.48 kB / 493.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.1094, allocations: 37.7 kB / 493.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1095, allocations: 318.8 kB / 494.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.1096, allocations: 31.98 kB / 494.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.1097, allocations: 70.42 kB / 494.3 MB, free: 6.348 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.000716/0.1104, allocations: 252.8 kB / 494.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1104, allocations: 4.188 kB / 494.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002805/0.1107, allocations: 166.4 kB / 494.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1107, allocations: 4 kB / 494.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1107, allocations: 8.031 kB / 494.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.1108, allocations: 32.77 kB / 494.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.736e-05/0.1109, allocations: 27.92 kB / 494.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.1123, allocations: 1.508 MB / 496.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.1123, allocations: 4 kB / 496.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1124, allocations: 7.938 kB / 496.3 MB, free: 4.203 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.000129/0.1125, allocations: 132 kB / 496.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.1125, allocations: 11.91 kB / 496.4 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1126, allocations: 20.78 kB / 496.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1126, allocations: 0 / 496.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1126, allocations: 0 / 496.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1126, allocations: 7.984 kB / 496.5 MB, free: 4.031 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.0007183/0.1133, allocations: 0.5593 MB / 497 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1133, allocations: 0 / 497 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.1134, allocations: 27.98 kB / 497.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.1135, allocations: 20.84 kB / 497.1 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1135, allocations: 8 kB / 497.1 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.1145, allocations: 1.283 MB / 498.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1145, allocations: 0 / 498.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.1149, allocations: 305.7 kB / 498.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.1149, allocations: 7.984 kB / 498.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1149, allocations: 7.938 kB / 498.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.115, allocations: 4 kB / 498.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.115, allocations: 12.05 kB / 498.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1151, allocations: 8 kB / 498.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.765e-05/0.1151, allocations: 95.27 kB / 498.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1151, allocations: 0 / 498.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000322/0.1154, allocations: 28 kB / 498.8 MB, free: 1.445 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.0006969/0.1161, allocations: 0.8444 MB / 499.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.1166, allocations: 222.1 kB / 499.9 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1166, allocations: 0 / 499.9 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.1168, allocations: 166.7 kB / 0.4883 GB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1171, allocations: 21.61 kB / 0.4884 GB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.1193, allocations: 1.868 MB / 0.4902 GB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1196, allocations: 0.7046 MB / 0.4909 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.1197, allocations: 9.078 kB / 0.4909 GB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.1197, allocations: 31.42 kB / 0.4909 GB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1197, allocations: 4 kB / 0.4909 GB, free: 13.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1463, allocations: 3.187 MB / 0.494 GB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.91, allocations: 11.73 kB / 0.494 GB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.743520179996267] Failed to read output from testmodel.py, exit status != 0: 12.078397744975518 12.332790231 12.223664226 Calling exit ...