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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.001739, allocations: 174.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008558, allocations: 106.2 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002207/0.002208, allocations: 0.5578 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.163e-05, allocations: 0 / 388.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3008, allocations: 50.57 MB / 439.3 MB, free: 19.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.4062, allocations: 75.79 MB / 0.503 GB, free: 7.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4065, allocations: 71.89 kB / 0.503 GB, free: 7.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008094/0.4146, allocations: 2.913 MB / 0.5059 GB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4146, allocations: 4 kB / 0.5059 GB, free: 4.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.4146, allocations: 7.938 kB / 0.5059 GB, free: 4.418 MB / 346.7 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.0004196/0.4151, allocations: 366.5 kB / 0.5063 GB, free: 4.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4151, allocations: 12.02 kB / 0.5063 GB, free: 4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.4152, allocations: 11.86 kB / 0.5063 GB, free: 3.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.4153, allocations: 174.9 kB / 0.5064 GB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4154, allocations: 7.938 kB / 0.5065 GB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.4154, allocations: 8 kB / 0.5065 GB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/0.4155, allocations: 52.36 kB / 0.5065 GB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4157, allocations: 78.98 kB / 0.5066 GB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4157, allocations: 0 / 0.5066 GB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4157, allocations: 0 / 0.5066 GB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4157, allocations: 7.953 kB / 0.5066 GB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.4164, allocations: 345.7 kB / 0.5069 GB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.4165, allocations: 90.52 kB / 0.507 GB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.4166, allocations: 28.86 kB / 0.507 GB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4166, allocations: 0 / 0.507 GB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4166, allocations: 42.77 kB / 0.5071 GB, free: 3.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.845e-06/0.4167, allocations: 3.938 kB / 0.5071 GB, free: 3.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009663/0.4176, allocations: 0.6138 MB / 0.5077 GB, free: 2.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.4177, allocations: 51.41 kB / 0.5077 GB, free: 2.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.4178, allocations: 116.9 kB / 0.5078 GB, free: 2.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.4178, allocations: 25.7 kB / 0.5079 GB, free: 2.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.4179, allocations: 99.97 kB / 0.508 GB, free: 2.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.4179, allocations: 55.2 kB / 0.508 GB, free: 1.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.4179, allocations: 0 / 0.508 GB, free: 1.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4181, allocations: 322.8 kB / 0.5083 GB, free: 1.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.4181, allocations: 28.19 kB / 0.5083 GB, free: 1.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.4182, allocations: 58.75 kB / 0.5084 GB, free: 1.566 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.4188, allocations: 300 kB / 0.5087 GB, free: 1.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4188, allocations: 7.938 kB / 0.5087 GB, free: 1.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002618/0.419, allocations: 150.4 kB / 0.5088 GB, free: 1.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4191, allocations: 8 kB / 0.5088 GB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4191, allocations: 4.031 kB / 0.5089 GB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.4192, allocations: 24.84 kB / 0.5089 GB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4194, allocations: 39.91 kB / 0.5089 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.4206, allocations: 1.382 MB / 0.5103 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.4207, allocations: 0 / 0.5103 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4207, allocations: 4 kB / 0.5103 GB, free: 15.49 MB / 362.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.s = $START.mass1.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.4208, allocations: 120.2 kB / 0.5104 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002257/0.421, allocations: 126.3 kB / 0.5105 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.4211, allocations: 11.97 kB / 0.5105 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.4211, allocations: 12.75 kB / 0.5105 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4211, allocations: 7.953 kB / 0.5105 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4211, allocations: 0 / 0.5105 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4211, allocations: 0 / 0.5105 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.4218, allocations: 0.5478 MB / 0.5111 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4218, allocations: 3.984 kB / 0.5111 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.4219, allocations: 23.94 kB / 0.5111 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.467e-05/0.422, allocations: 24.84 kB / 0.5111 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.422, allocations: 0 / 0.5111 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007835/0.4228, allocations: 1.229 MB / 0.5123 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4228, allocations: 0 / 0.5123 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.4231, allocations: 325.5 kB / 0.5126 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.4232, allocations: 89 kB / 0.5127 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4232, allocations: 7.953 kB / 0.5127 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.4233, allocations: 384 / 0.5127 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.4234, allocations: 16.05 kB / 0.5127 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.4234, allocations: 4 kB / 0.5127 GB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.4234, allocations: 91.16 kB / 0.5128 GB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4234, allocations: 0 / 0.5128 GB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.4237, allocations: 28 kB / 0.5129 GB, free: 12.56 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007067/0.4244, allocations: 1.05 MB / 0.5139 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.4248, allocations: 209.7 kB / 0.5141 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4248, allocations: 0 / 0.5141 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.425, allocations: 157.7 kB / 0.5142 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.4253, allocations: 19.92 kB / 0.5142 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.426, allocations: 337.7 kB / 0.5146 GB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.4263, allocations: 0.7084 MB / 0.5153 GB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.005e-05/0.4263, allocations: 12.77 kB / 0.5153 GB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.4264, allocations: 31.42 kB / 0.5153 GB, free: 9.91 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4264, allocations: 0 / 0.5153 GB, free: 9.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.4463, allocations: 2.14 MB / 0.5174 GB, free: 7.812 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.4466, allocations: 192.4 kB / 0.5176 GB, free: 7.621 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.969, allocations: 0 / 0.5176 GB, free: 7.621 MB / 362.7 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/linux/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)