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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006016/0.006016, allocations: 99.53 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 195.3 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002557/0.002557, allocations: 0.5667 MB / 291.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.91 kB / 401.9 MB, free: 32.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.101, allocations: 49.6 MB / 451.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002707/0.1038, allocations: 1.645 MB / 453.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.1041, allocations: 103.6 kB / 453.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.1042, allocations: 0 / 453.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.028e-05/0.1043, allocations: 11.86 kB / 453.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1044, allocations: 31.7 kB / 453.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.1045, allocations: 23.97 kB / 453.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1047, allocations: 107.5 kB / 453.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1048, allocations: 43.95 kB / 453.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.1049, allocations: 39.86 kB / 453.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.105, allocations: 43.78 kB / 453.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1051, allocations: 8 kB / 453.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.934e-05/0.1051, allocations: 8 kB / 453.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.1051, allocations: 19.92 kB / 453.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.1052, allocations: 55.78 kB / 453.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.1053, allocations: 99.05 kB / 453.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1054, allocations: 4 kB / 453.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1054, allocations: 0 / 453.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1054, allocations: 3.938 kB / 453.7 MB, free: 12.77 MB / 334.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.0005854/0.106, allocations: 403.6 kB / 454.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.106, allocations: 8.031 kB / 454.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.1061, allocations: 42.73 kB / 454.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.1061, allocations: 12.75 kB / 454.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.1063, allocations: 192.2 kB / 454.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1064, allocations: 4.562 kB / 454.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.1064, allocations: 8.375 kB / 454.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.1066, allocations: 103.8 kB / 454.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1066, allocations: 3.906 kB / 454.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1066, allocations: 0 / 454.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1066, allocations: 7.938 kB / 454.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1068, allocations: 63.95 kB / 454.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.1073, allocations: 372.7 kB / 454.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1075, allocations: 106.5 kB / 455 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.1075, allocations: 36.84 kB / 455.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1076, allocations: 4 kB / 455.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1076, allocations: 30.56 kB / 455.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.1076, allocations: 0 / 455.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001132/0.1087, allocations: 0.6851 MB / 455.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1088, allocations: 59.55 kB / 455.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.1089, allocations: 126.8 kB / 456 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1089, allocations: 29.7 kB / 456 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.109, allocations: 104.2 kB / 456.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.109, allocations: 55.2 kB / 456.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.1091, allocations: 29.72 kB / 456.2 MB, free: 10 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1092, allocations: 326.8 kB / 456.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.1093, allocations: 31.98 kB / 456.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.1094, allocations: 66.5 kB / 456.6 MB, free: 9.57 MB / 334.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.0007452/0.1101, allocations: 409.2 kB / 457 MB, free: 9.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1101, allocations: 3.938 kB / 457 MB, free: 9.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00025/0.1104, allocations: 170.5 kB / 457.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.1104, allocations: 4 kB / 457.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1104, allocations: 8.031 kB / 457.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.1106, allocations: 24.84 kB / 457.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.1107, allocations: 31.92 kB / 457.2 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.1119, allocations: 1.615 MB / 458.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.112, allocations: 4 kB / 458.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.112, allocations: 7.938 kB / 458.9 MB, free: 7.105 MB / 334.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.0001305/0.1121, allocations: 129.8 kB / 459 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1122, allocations: 15.91 kB / 459 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.1122, allocations: 20.84 kB / 459 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1122, allocations: 0 / 459 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1122, allocations: 0 / 459 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1122, allocations: 4 kB / 459 MB, free: 6.934 MB / 334.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.000667/0.1129, allocations: 0.5941 MB / 459.6 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1129, allocations: 4 kB / 459.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.113, allocations: 23.98 kB / 459.7 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.694e-05/0.1131, allocations: 24.78 kB / 459.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1131, allocations: 8 kB / 459.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008405/0.114, allocations: 1.367 MB / 461.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.114, allocations: 7.875 kB / 461.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.1143, allocations: 305.5 kB / 461.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.1144, allocations: 85.05 kB / 461.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1144, allocations: 7.938 kB / 461.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.1145, allocations: 4 kB / 461.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.1145, allocations: 11.92 kB / 461.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1145, allocations: 8.062 kB / 461.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.1146, allocations: 99.7 kB / 461.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1146, allocations: 0 / 461.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.1149, allocations: 32 kB / 461.6 MB, free: 4.086 MB / 334.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.0005579/0.1155, allocations: 0.8356 MB / 462.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.1158, allocations: 234 kB / 462.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1159, allocations: 0 / 462.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.116, allocations: 174.3 kB / 462.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1164, allocations: 28.23 kB / 462.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1182, allocations: 1.842 MB / 464.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1185, allocations: 0.7046 MB / 465.4 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.1186, allocations: 13.08 kB / 465.4 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.1186, allocations: 27.42 kB / 465.5 MB, free: 36 kB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1186, allocations: 3.938 kB / 465.5 MB, free: 32 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1399, allocations: 2.996 MB / 468.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.479/9.619, allocations: 11 kB / 468.5 MB, free: 13.25 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)