Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",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.008441/0.008441, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.4/1.4, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009362, allocations: 97.16 kB / 290.2 MB, free: 4.562 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.00244/0.00244, allocations: 0.5546 MB / 341.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 8 kB / 403 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 50.56 MB / 453.6 MB, free: 80.07 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08359/0.3766, allocations: 75.14 MB / 0.5163 GB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.3769, allocations: 61.31 kB / 0.5164 GB, free: 4.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001023/0.3779, allocations: 0.5846 MB / 0.517 GB, free: 4.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3779, allocations: 0 / 0.517 GB, free: 4.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3779, allocations: 0 / 0.517 GB, free: 4.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002287/0.3782, allocations: 333.8 kB / 0.5173 GB, free: 3.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3782, allocations: 8.031 kB / 0.5173 GB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.3783, allocations: 42.5 kB / 0.5173 GB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.3783, allocations: 15.86 kB / 0.5173 GB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.505e-05/0.3784, allocations: 167.2 kB / 0.5175 GB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3784, allocations: 4 kB / 0.5175 GB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3784, allocations: 4 kB / 0.5175 GB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.855e-05/0.3785, allocations: 45.2 kB / 0.5175 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3785, allocations: 0 / 0.5175 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3785, allocations: 4 kB / 0.5175 GB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3786, allocations: 3.953 kB / 0.5176 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.3786, allocations: 15.98 kB / 0.5176 GB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.379, allocations: 294.5 kB / 0.5178 GB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.076e-05/0.3791, allocations: 46.48 kB / 0.5179 GB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.3791, allocations: 0 / 0.5179 GB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3791, allocations: 38.56 kB / 0.5179 GB, free: 3.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3791, allocations: 0 / 0.5179 GB, free: 3.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003743/0.3795, allocations: 163.6 kB / 0.5181 GB, free: 2.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.3795, allocations: 55.39 kB / 0.5181 GB, free: 2.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.3796, allocations: 89 kB / 0.5182 GB, free: 2.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3796, allocations: 29.7 kB / 0.5183 GB, free: 2.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.3796, allocations: 80.14 kB / 0.5183 GB, free: 2.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.3797, allocations: 19.73 kB / 0.5183 GB, free: 2.523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.3797, allocations: 4 kB / 0.5184 GB, free: 2.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.3797, allocations: 310.8 kB / 0.5186 GB, free: 2.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.3798, allocations: 12 kB / 0.5187 GB, free: 2.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.3798, allocations: 21.7 kB / 0.5187 GB, free: 2.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.3798, allocations: 8 kB / 0.5187 GB, free: 2.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3798, allocations: 0 / 0.5187 GB, free: 2.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001116/0.38, allocations: 82.34 kB / 0.5188 GB, free: 2.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.38, allocations: 9.719 kB / 0.5188 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.38, allocations: 0 / 0.5188 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.3801, allocations: 20.88 kB / 0.5188 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.3802, allocations: 7.938 kB / 0.5188 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008193/0.381, allocations: 1.253 MB / 0.52 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.3811, allocations: 0 / 0.52 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3811, allocations: 8.016 kB / 0.52 GB, free: 0.6367 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.212e-05/0.3812, allocations: 117.7 kB / 0.5201 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.3812, allocations: 11.89 kB / 0.5202 GB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.3812, allocations: 3.5 kB / 0.5202 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3812, allocations: 0.6094 kB / 0.5202 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3813, allocations: 4.125 kB / 0.5202 GB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3813, allocations: 4 kB / 0.5202 GB, free: 496 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.3814, allocations: 161.7 kB / 0.5203 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3814, allocations: 7.891 kB / 0.5203 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.3815, allocations: 4 kB / 0.5203 GB, free: 272 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.414e-05/0.3815, allocations: 20.83 kB / 0.5204 GB, free: 248 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.3816, allocations: 0 / 0.5204 GB, free: 248 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008953/0.3825, allocations: 1.249 MB / 0.5216 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3825, allocations: 0 / 0.5216 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.3827, allocations: 184.5 kB / 0.5217 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.3828, allocations: 81.09 kB / 0.5218 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.3828, allocations: 0 / 0.5218 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.3828, allocations: 0 / 0.5218 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.3829, allocations: 4.031 kB / 0.5218 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3829, allocations: 0 / 0.5218 GB, free: 14.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.461e-05/0.3829, allocations: 83.28 kB / 0.5219 GB, free: 14.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.184e-06/0.3829, allocations: 0 / 0.5219 GB, free: 14.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.3832, allocations: 11.92 kB / 0.5219 GB, free: 14.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0005701/0.3838, allocations: 0.7093 MB / 0.5226 GB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.3841, allocations: 138.7 kB / 0.5227 GB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3841, allocations: 4.125 kB / 0.5228 GB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.3843, allocations: 138.6 kB / 0.5229 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.3844, allocations: 1.312 kB / 0.5229 GB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.3853, allocations: 0.58 MB / 0.5235 GB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3856, allocations: 0.6848 MB / 0.5241 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.572e-05/0.3856, allocations: 0 / 0.5241 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.3856, allocations: 11.44 kB / 0.5241 GB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3856, allocations: 0 / 0.5241 GB, free: 12.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.3989, allocations: 1.325 MB / 0.5254 GB, free: 11.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.3991, allocations: 277.8 kB / 0.5257 GB, free: 10.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/1.821, allocations: 4 kB / 0.5257 GB, free: 10.64 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)