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.001334/0.001334, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001483/0.001483, allocations: 218.8 kB / 23.03 MB, free: 4.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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002982/0.002982, allocations: 0.5813 MB / 313.8 MB, free: 2.336 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.001943/0.001943, allocations: 67.89 kB / 435.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1081, allocations: 53.52 MB / 489.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.003061/0.1111, allocations: 1.624 MB / 491 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003025/0.1114, allocations: 95.62 kB / 491.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.1115, allocations: 4 kB / 491.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.6e-05/0.1115, allocations: 15.86 kB / 491.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1117, allocations: 35.7 kB / 491.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.1118, allocations: 23.97 kB / 491.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.112, allocations: 103.5 kB / 491.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1121, allocations: 27.97 kB / 491.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.1122, allocations: 39.92 kB / 491.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1123, allocations: 43.78 kB / 491.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.1123, allocations: 8 kB / 491.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.1123, allocations: 16 kB / 491.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.1124, allocations: 19.91 kB / 491.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.1124, allocations: 47.8 kB / 491.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1126, allocations: 110.2 kB / 491.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1126, allocations: 0 / 491.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1126, allocations: 0 / 491.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1126, allocations: 0 / 491.6 MB, free: 9.078 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.0005693/0.1132, allocations: 318.2 kB / 491.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1133, allocations: 16.03 kB / 491.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.506e-05/0.1133, allocations: 384 / 491.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.1133, allocations: 46.67 kB / 492 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.1134, allocations: 16.84 kB / 492 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1136, allocations: 130.5 kB / 492.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1136, allocations: 0.5625 kB / 492.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.1136, allocations: 20.08 kB / 492.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.1138, allocations: 100.3 kB / 492.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1139, allocations: 4 kB / 492.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1139, allocations: 3.938 kB / 492.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.1139, allocations: 4 kB / 492.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.114, allocations: 63.91 kB / 492.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.1146, allocations: 335.8 kB / 492.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.1148, allocations: 94.55 kB / 492.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.1149, allocations: 28.86 kB / 492.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1149, allocations: 4 kB / 492.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1149, allocations: 34.56 kB / 492.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.1149, allocations: 0 / 492.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001199/0.1161, allocations: 0.5423 MB / 493.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1162, allocations: 55.41 kB / 493.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.1163, allocations: 130.2 kB / 493.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1163, allocations: 29.7 kB / 493.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.1164, allocations: 104.3 kB / 493.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.1164, allocations: 59.48 kB / 493.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.1165, allocations: 29.72 kB / 493.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1167, allocations: 322.8 kB / 494.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.1167, allocations: 35.98 kB / 494.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1168, allocations: 66.48 kB / 494.2 MB, free: 6.277 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.0008213/0.1177, allocations: 256.7 kB / 494.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1177, allocations: 0 / 494.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002824/0.1179, allocations: 158.4 kB / 494.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.118, allocations: 4 kB / 494.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.118, allocations: 11.97 kB / 494.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.1181, allocations: 32.78 kB / 494.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1182, allocations: 23.98 kB / 494.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.1198, allocations: 1.5 MB / 496.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.1198, allocations: 8.031 kB / 496.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1198, allocations: 7.938 kB / 496.1 MB, free: 4.145 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.0001389/0.12, allocations: 133.8 kB / 496.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.12, allocations: 11.91 kB / 496.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.12, allocations: 20.78 kB / 496.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.12, allocations: 0 / 496.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.12, allocations: 0 / 496.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1201, allocations: 3.984 kB / 496.3 MB, free: 3.973 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.0006813/0.1207, allocations: 456.6 kB / 496.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1207, allocations: 8.344 kB / 496.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1209, allocations: 31.92 kB / 496.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-05/0.121, allocations: 16.86 kB / 496.8 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.121, allocations: 8 kB / 496.8 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.1221, allocations: 1.275 MB / 498.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1221, allocations: 0 / 498.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.1226, allocations: 302.9 kB / 498.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.1226, allocations: 7.984 kB / 498.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1226, allocations: 11.94 kB / 498.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.1227, allocations: 4 kB / 498.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.1227, allocations: 19.97 kB / 498.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1228, allocations: 4 kB / 498.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.167e-05/0.1228, allocations: 95.27 kB / 498.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1228, allocations: 0 / 498.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.1232, allocations: 32 kB / 498.6 MB, free: 1.516 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.0007631/0.1239, allocations: 0.8367 MB / 499.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004589/0.1244, allocations: 222.5 kB / 499.6 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1244, allocations: 0 / 499.6 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.1246, allocations: 162.6 kB / 499.8 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.125, allocations: 24.23 kB / 499.8 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.1273, allocations: 1.858 MB / 0.4899 GB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.395e-05/0.1274, allocations: 92.69 kB / 0.49 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.366e-05/0.1275, allocations: 13.06 kB / 0.49 GB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.1276, allocations: 31.44 kB / 0.49 GB, free: 14.08 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1276, allocations: 0 / 0.49 GB, free: 14.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.1561, allocations: 3.279 MB / 0.4932 GB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.58, allocations: 22.72 kB / 0.4933 GB, free: 11.02 MB / 366.1 MB " [Timeout remaining time 647] (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.400769916013815] Failed to read output from testmodel.py, exit status != 0: 12.746182178030722 12.978553621 12.862332171 Calling exit ...