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.001862/0.001862, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002262/0.002262, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.003155/0.003155, allocations: 0.5808 MB / 313.8 MB, free: 2.32 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.001974/0.001974, allocations: 63.84 kB / 435.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1091, allocations: 53.52 MB / 489.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002979/0.1121, allocations: 1.612 MB / 491 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.1124, allocations: 95.69 kB / 491.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.1125, allocations: 3.938 kB / 491.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.998e-05/0.1126, allocations: 15.86 kB / 491.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.1127, allocations: 31.72 kB / 491.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.1128, allocations: 23.95 kB / 491.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.113, allocations: 107.5 kB / 491.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1131, allocations: 19.98 kB / 491.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.45e-05/0.1132, allocations: 43.86 kB / 491.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1133, allocations: 51.77 kB / 491.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1133, allocations: 8 kB / 491.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.312e-05/0.1134, allocations: 8 kB / 491.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.1134, allocations: 23.92 kB / 491.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.1134, allocations: 47.73 kB / 491.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.1136, allocations: 107.8 kB / 491.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1136, allocations: 4 kB / 491.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1136, allocations: 0 / 491.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1136, allocations: 0 / 491.6 MB, free: 9.086 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.0005653/0.1142, allocations: 318.2 kB / 491.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1142, allocations: 8.031 kB / 491.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.963e-05/0.1143, allocations: 8.375 kB / 491.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.1143, allocations: 42.73 kB / 492 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1144, allocations: 12.84 kB / 492 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1145, allocations: 130.4 kB / 492.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1145, allocations: 4.562 kB / 492.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.1146, allocations: 20.08 kB / 492.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1148, allocations: 95.28 kB / 492.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1148, allocations: 0 / 492.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1148, allocations: 0 / 492.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1148, allocations: 7.984 kB / 492.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1149, allocations: 63.84 kB / 492.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.1155, allocations: 335.9 kB / 492.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1157, allocations: 98.48 kB / 492.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.1158, allocations: 32.86 kB / 492.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1158, allocations: 0 / 492.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1158, allocations: 30.56 kB / 492.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.1158, allocations: 0 / 492.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001349/0.1172, allocations: 0.5446 MB / 493.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1172, allocations: 55.39 kB / 493.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1173, allocations: 126.2 kB / 493.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1173, allocations: 25.7 kB / 493.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.1174, allocations: 108.3 kB / 493.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.1175, allocations: 63.47 kB / 493.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.1175, allocations: 37.66 kB / 493.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1177, allocations: 322.8 kB / 494 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.1177, allocations: 31.98 kB / 494.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/0.1178, allocations: 62.48 kB / 494.1 MB, free: 6.297 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.0007315/0.1186, allocations: 264.8 kB / 494.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1186, allocations: 4 kB / 494.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002699/0.1188, allocations: 154.4 kB / 494.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1188, allocations: 8 kB / 494.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1189, allocations: 7.906 kB / 494.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.119, allocations: 32.84 kB / 494.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1191, allocations: 31.92 kB / 494.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.1205, allocations: 1.5 MB / 496.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.1206, allocations: 4 kB / 496.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1206, allocations: 7.969 kB / 496.1 MB, free: 4.152 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.0001263/0.1207, allocations: 132.3 kB / 496.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1207, allocations: 15.91 kB / 496.3 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.1208, allocations: 12.78 kB / 496.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1208, allocations: 4 kB / 496.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1208, allocations: 0 / 496.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1208, allocations: 3.984 kB / 496.3 MB, free: 3.984 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.0006578/0.1214, allocations: 460.7 kB / 496.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1214, allocations: 0 / 496.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1216, allocations: 28.08 kB / 496.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.17e-05/0.1216, allocations: 20.86 kB / 496.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1216, allocations: 0 / 496.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009979/0.1226, allocations: 1.275 MB / 498.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1226, allocations: 4.031 kB / 498.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.123, allocations: 302.9 kB / 498.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.123, allocations: 7.984 kB / 498.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1231, allocations: 7.938 kB / 498.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.1231, allocations: 4 kB / 498.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1232, allocations: 27.89 kB / 498.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1232, allocations: 4 kB / 498.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.962e-05/0.1233, allocations: 95.27 kB / 498.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1233, allocations: 0 / 498.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.1236, allocations: 32 kB / 498.6 MB, free: 1.527 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.0007322/0.1243, allocations: 0.8365 MB / 499.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.1247, allocations: 218.6 kB / 499.6 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1247, allocations: 0 / 499.6 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.1249, allocations: 162.6 kB / 499.8 MB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1253, allocations: 25.92 kB / 499.8 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.1275, allocations: 1.863 MB / 0.4899 GB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.241e-05/0.1276, allocations: 92.69 kB / 0.49 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.1276, allocations: 13.08 kB / 0.49 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.1277, allocations: 23.44 kB / 0.49 GB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1277, allocations: 4 kB / 0.49 GB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.1651, allocations: 3.273 MB / 0.4932 GB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.13, allocations: 8.047 kB / 0.4932 GB, free: 11.04 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: 15.068157467059791] Failed to read output from testmodel.py, exit status != 0: 12.295326899038628 12.546539518 12.429249566 Calling exit ...