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.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.001538/0.001538, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001719/0.001719, allocations: 214.6 kB / 22.26 MB, free: 5.125 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.969 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.003441/0.003441, allocations: 0.5751 MB / 313 MB, free: 2.488 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.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.001845/0.001845, allocations: 63.91 kB / 435.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1069, allocations: 53.52 MB / 488.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.003777/0.1107, allocations: 1.69 MB / 490.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002978/0.111, allocations: 91.69 kB / 490.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.1111, allocations: 7.938 kB / 490.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.586e-05/0.1111, allocations: 11.86 kB / 490.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.1112, allocations: 35.7 kB / 490.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.1114, allocations: 19.98 kB / 490.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1115, allocations: 111.5 kB / 490.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.1117, allocations: 23.98 kB / 490.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.1118, allocations: 43.8 kB / 490.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.1119, allocations: 43.84 kB / 490.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1119, allocations: 8 kB / 490.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.1119, allocations: 8 kB / 490.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.1119, allocations: 23.91 kB / 490.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.112, allocations: 47.75 kB / 490.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1121, allocations: 107.8 kB / 491 MB, free: 9.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1122, allocations: 4 kB / 491 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1122, allocations: 0 / 491 MB, free: 9.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1122, allocations: 0 / 491 MB, free: 9.176 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.0005058/0.1127, allocations: 322.2 kB / 491.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1127, allocations: 12.03 kB / 491.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.1128, allocations: 38.75 kB / 491.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1128, allocations: 16.84 kB / 491.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.113, allocations: 134.3 kB / 491.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.113, allocations: 8.562 kB / 491.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.113, allocations: 12.33 kB / 491.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1132, allocations: 93.78 kB / 491.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1132, allocations: 3.938 kB / 491.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1132, allocations: 7.984 kB / 491.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1132, allocations: 7.984 kB / 491.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1134, allocations: 57.22 kB / 491.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.114, allocations: 355.8 kB / 492 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1141, allocations: 94.48 kB / 492.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.1142, allocations: 36.84 kB / 492.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1142, allocations: 4 kB / 492.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.1143, allocations: 30.56 kB / 492.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1143, allocations: 4 kB / 492.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001109/0.1154, allocations: 0.531 MB / 492.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.1154, allocations: 55.41 kB / 492.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1155, allocations: 126.9 kB / 492.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1156, allocations: 25.7 kB / 492.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.1157, allocations: 108.3 kB / 493 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.1157, allocations: 55.48 kB / 493.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.1158, allocations: 41.64 kB / 493.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1159, allocations: 322.8 kB / 493.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.116, allocations: 31.98 kB / 493.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/0.1161, allocations: 58.56 kB / 493.5 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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.1168, allocations: 258 kB / 493.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1168, allocations: 7.938 kB / 493.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002699/0.117, allocations: 166.4 kB / 493.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.117, allocations: 4 kB / 493.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.117, allocations: 4 kB / 493.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.1172, allocations: 28.78 kB / 494 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.1173, allocations: 27.92 kB / 494 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.1186, allocations: 1.516 MB / 495.5 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.1187, allocations: 4 kB / 495.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1187, allocations: 4.031 kB / 495.5 MB, free: 4.223 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.0001273/0.1188, allocations: 132.3 kB / 495.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1189, allocations: 11.91 kB / 495.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.1189, allocations: 28.7 kB / 495.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1189, allocations: 0 / 495.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1189, allocations: 0 / 495.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1189, allocations: 4 kB / 495.7 MB, free: 4.047 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.0007126/0.1196, allocations: 0.5622 MB / 496.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1196, allocations: 4 kB / 496.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1197, allocations: 24 kB / 496.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.1198, allocations: 20.84 kB / 496.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1198, allocations: 8 kB / 496.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.1208, allocations: 1.267 MB / 497.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1208, allocations: 8.094 kB / 497.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.1212, allocations: 301.8 kB / 497.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.1212, allocations: 12.02 kB / 497.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1213, allocations: 7.938 kB / 497.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.1213, allocations: 8.062 kB / 497.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.1214, allocations: 15.91 kB / 497.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1214, allocations: 8 kB / 497.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.1214, allocations: 99.64 kB / 498 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1214, allocations: 0 / 498 MB, free: 1.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1217, allocations: 28 kB / 498.1 MB, free: 1.453 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.0007048/0.1224, allocations: 0.8445 MB / 498.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.1229, allocations: 228.4 kB / 499.1 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1229, allocations: 0 / 499.1 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.1231, allocations: 158.6 kB / 499.3 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1234, allocations: 19.94 kB / 499.3 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.1255, allocations: 1.861 MB / 0.4894 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1259, allocations: 0.7046 MB / 0.4901 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.155e-05/0.126, allocations: 17.08 kB / 0.4901 GB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.126, allocations: 23.44 kB / 0.4901 GB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.126, allocations: 0 / 0.4901 GB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.1605, allocations: 3.175 MB / 0.4932 GB, free: 10.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.75, allocations: 4.25 kB / 0.4933 GB, free: 10.42 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.461038419045508] Failed to read output from testmodel.py, exit status != 0: 11.861014038091525 12.056499147 11.941374915 Calling exit ...