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.001743/0.001743, allocations: 113.5 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.001631/0.001631, allocations: 214.2 kB / 23.04 MB, free: 5.07 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.495/1.495, 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.003062/0.003062, allocations: 0.5816 MB / 313.8 MB, free: 2.523 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 55.91 kB / 436 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1123, allocations: 53.52 MB / 489.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.003107/0.1154, allocations: 1.702 MB / 491.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003137/0.1157, allocations: 99.69 kB / 491.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.1157, allocations: 3.938 kB / 491.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.74e-05/0.1158, allocations: 11.86 kB / 491.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1159, allocations: 31.7 kB / 491.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.1161, allocations: 23.97 kB / 491.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1162, allocations: 107.5 kB / 491.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1163, allocations: 23.98 kB / 491.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.1164, allocations: 51.84 kB / 491.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1165, allocations: 43.78 kB / 491.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.1165, allocations: 8 kB / 491.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.1166, allocations: 8 kB / 491.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.1166, allocations: 23.92 kB / 491.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.1167, allocations: 39.81 kB / 491.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1168, allocations: 115.8 kB / 491.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1168, allocations: 0 / 491.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1168, allocations: 0 / 491.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1168, allocations: 0 / 491.8 MB, free: 9.199 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.0005613/0.1174, allocations: 326.2 kB / 492.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1174, allocations: 8.031 kB / 492.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.74e-05/0.1175, allocations: 8.375 kB / 492.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.1175, allocations: 34.75 kB / 492.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.1175, allocations: 16.84 kB / 492.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1177, allocations: 130.4 kB / 492.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1177, allocations: 4.562 kB / 492.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1178, allocations: 20.08 kB / 492.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.118, allocations: 90.97 kB / 492.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.118, allocations: 4 kB / 492.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.118, allocations: 0 / 492.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.118, allocations: 11.92 kB / 492.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1181, allocations: 59.84 kB / 492.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.1187, allocations: 347.9 kB / 492.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1189, allocations: 102.5 kB / 492.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.119, allocations: 32.84 kB / 492.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.119, allocations: 4 kB / 492.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.119, allocations: 38.5 kB / 493 MB, free: 7.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.119, allocations: 0 / 493 MB, free: 7.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001108/0.1201, allocations: 0.5378 MB / 493.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1202, allocations: 55.41 kB / 493.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1203, allocations: 130.9 kB / 493.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1203, allocations: 29.7 kB / 493.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.1204, allocations: 100.3 kB / 493.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.1204, allocations: 59.47 kB / 493.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.1205, allocations: 41.7 kB / 493.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1207, allocations: 322.8 kB / 494.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.905e-05/0.1207, allocations: 35.92 kB / 494.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.1208, allocations: 62.5 kB / 494.3 MB, free: 6.379 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.0007668/0.1216, allocations: 258.6 kB / 494.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1216, allocations: 4 kB / 494.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002919/0.1219, allocations: 158.4 kB / 494.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1219, allocations: 8.031 kB / 494.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1219, allocations: 4 kB / 494.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.1221, allocations: 28.84 kB / 494.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1222, allocations: 27.92 kB / 494.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.1236, allocations: 1.512 MB / 496.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1237, allocations: 0 / 496.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1237, allocations: 11.97 kB / 496.3 MB, free: 4.238 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.0001248/0.1238, allocations: 125.9 kB / 496.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1238, allocations: 12.16 kB / 496.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.1239, allocations: 20.77 kB / 496.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1239, allocations: 0 / 496.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1239, allocations: 4 kB / 496.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1239, allocations: 4.141 kB / 496.5 MB, free: 4.07 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.0007583/0.1247, allocations: 0.5732 MB / 497.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1247, allocations: 0 / 497.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.1248, allocations: 24 kB / 497.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.19e-05/0.1249, allocations: 20.84 kB / 497.1 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1249, allocations: 4 kB / 497.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.1259, allocations: 1.271 MB / 498.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1259, allocations: 0 / 498.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.1263, allocations: 303 kB / 498.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.1264, allocations: 7.984 kB / 498.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1264, allocations: 11.94 kB / 498.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1265, allocations: 0 / 498.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.1265, allocations: 23.97 kB / 498.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.1265, allocations: 7.938 kB / 498.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.1266, allocations: 95.7 kB / 498.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1266, allocations: 0 / 498.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1269, allocations: 32 kB / 498.9 MB, free: 1.477 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.0007384/0.1276, allocations: 0.8367 MB / 499.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.1281, allocations: 222.6 kB / 499.9 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1281, allocations: 128 / 499.9 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.1283, allocations: 162.6 kB / 0.4883 GB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1286, allocations: 23.36 kB / 0.4884 GB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.1311, allocations: 1.874 MB / 0.4902 GB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.1317, allocations: 0.7046 MB / 0.4909 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.1318, allocations: 9.078 kB / 0.4909 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.1319, allocations: 31.44 kB / 0.4909 GB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1319, allocations: 0 / 0.4909 GB, free: 13.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.1624, allocations: 3.194 MB / 0.494 GB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.24, allocations: 8.109 kB / 0.4941 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: 15.099676842044573] Failed to read output from testmodel.py, exit status != 0: 12.40609276597388 12.637447164 12.516885867 Calling exit ...