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.002359/0.002359, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.715/1.715, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 94.28 kB / 285.6 MB, free: 12.98 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.002718/0.002718, allocations: 0.5608 MB / 337.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.14e-05, allocations: 4 kB / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 50.58 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4263/0.5359, allocations: 76.45 MB / 0.5103 GB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5362, allocations: 68.7 kB / 0.5104 GB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008369/0.5446, allocations: 2.954 MB / 0.5133 GB, free: 8.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5446, allocations: 0 / 0.5133 GB, free: 8.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.5447, allocations: 0 / 0.5133 GB, free: 8.719 MB / 330.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.0005019/0.5452, allocations: 369 kB / 0.5136 GB, free: 8.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.5452, allocations: 8.031 kB / 0.5137 GB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.691e-05/0.5453, allocations: 50.23 kB / 0.5137 GB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.5454, allocations: 11.86 kB / 0.5137 GB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.5456, allocations: 178.8 kB / 0.5139 GB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.5456, allocations: 7.5 kB / 0.5139 GB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.5456, allocations: 10.75 kB / 0.5139 GB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.5459, allocations: 85.8 kB / 0.514 GB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.5459, allocations: 4 kB / 0.514 GB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.5459, allocations: 3.562 kB / 0.514 GB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.5459, allocations: 3.953 kB / 0.514 GB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.5461, allocations: 57.16 kB / 0.5141 GB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.5468, allocations: 385.5 kB / 0.5144 GB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.547, allocations: 98.44 kB / 0.5145 GB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.547, allocations: 46.47 kB / 0.5146 GB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.5471, allocations: 3.391 kB / 0.5146 GB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.5471, allocations: 34.56 kB / 0.5146 GB, free: 7.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.5471, allocations: 0 / 0.5146 GB, free: 7.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001117/0.5482, allocations: 0.6405 MB / 0.5152 GB, free: 6.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.5483, allocations: 59.41 kB / 0.5153 GB, free: 6.637 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.5484, allocations: 118 kB / 0.5154 GB, free: 6.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.5484, allocations: 29.45 kB / 0.5154 GB, free: 6.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.5485, allocations: 95.94 kB / 0.5155 GB, free: 6.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.5486, allocations: 61.3 kB / 0.5156 GB, free: 6.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.5486, allocations: 8.156 kB / 0.5156 GB, free: 6.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5487, allocations: 314.8 kB / 0.5159 GB, free: 6.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.5488, allocations: 35.81 kB / 0.5159 GB, free: 6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.5489, allocations: 73.92 kB / 0.516 GB, free: 5.938 MB / 330.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.0005979/0.5495, allocations: 308.3 kB / 0.5163 GB, free: 5.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5495, allocations: 0 / 0.5163 GB, free: 5.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000255/0.5498, allocations: 170.2 kB / 0.5164 GB, free: 5.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5498, allocations: 5.875 kB / 0.5164 GB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5498, allocations: 0 / 0.5164 GB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/0.55, allocations: 28.09 kB / 0.5165 GB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.5501, allocations: 23.94 kB / 0.5165 GB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.5514, allocations: 1.451 MB / 0.5179 GB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.5515, allocations: 3.312 kB / 0.5179 GB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.5515, allocations: 7.953 kB / 0.5179 GB, free: 3.934 MB / 330.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.0001011/0.5516, allocations: 117.1 kB / 0.518 GB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.5517, allocations: 7.906 kB / 0.518 GB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.5517, allocations: 15.62 kB / 0.5181 GB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5517, allocations: 3.984 kB / 0.5181 GB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5517, allocations: 4 kB / 0.5181 GB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5517, allocations: 0 / 0.5181 GB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006794/0.5524, allocations: 0.5919 MB / 0.5186 GB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5524, allocations: 0 / 0.5186 GB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.5526, allocations: 31.52 kB / 0.5187 GB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.49e-05/0.5527, allocations: 16.84 kB / 0.5187 GB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.5527, allocations: 11.41 kB / 0.5187 GB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008957/0.5536, allocations: 1.268 MB / 0.5199 GB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5536, allocations: 4.156 kB / 0.5199 GB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.554, allocations: 335.4 kB / 0.5203 GB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.554, allocations: 85.05 kB / 0.5203 GB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.5541, allocations: 7.188 kB / 0.5203 GB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.5542, allocations: 7.812 kB / 0.5204 GB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.5542, allocations: 15.88 kB / 0.5204 GB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.5542, allocations: 4 kB / 0.5204 GB, free: 1.297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.594e-05/0.5543, allocations: 101.8 kB / 0.5205 GB, free: 1.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5543, allocations: 0 / 0.5205 GB, free: 1.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.5546, allocations: 34.31 kB / 0.5205 GB, free: 1.176 MB / 330.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.0008128/0.5554, allocations: 1.071 MB / 0.5215 GB, free: 112 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.5559, allocations: 223.2 kB / 0.5218 GB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5559, allocations: 0 / 0.5218 GB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.5561, allocations: 169.2 kB / 0.5219 GB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.5564, allocations: 19.61 kB / 0.5219 GB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.5571, allocations: 340.4 kB / 0.5223 GB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.5574, allocations: 0.7126 MB / 0.523 GB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.431e-05/0.5575, allocations: 8.781 kB / 0.523 GB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.5575, allocations: 32.3 kB / 0.523 GB, free: 14.62 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5575, allocations: 0 / 0.523 GB, free: 14.62 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.5735, allocations: 2.629 MB / 0.5256 GB, free: 12.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.5738, allocations: 218.5 kB / 0.5258 GB, free: 12.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.129, allocations: 3.938 kB / 0.5258 GB, free: 12 MB / 346.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)