Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.001309/0.00131, allocations: 174.9 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.541/1.541, 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.0009309/0.0009314, allocations: 92.94 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.002492/0.002493, allocations: 0.5522 MB / 337 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.396e-05, allocations: 4 kB / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 50.58 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4047/0.5077, allocations: 75.12 MB / 0.509 GB, free: 12.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.508, allocations: 74.75 kB / 0.5091 GB, free: 12.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001791/0.5098, allocations: 0.6175 MB / 0.5097 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5098, allocations: 0 / 0.5097 GB, free: 12.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.5098, allocations: 4.875 kB / 0.5097 GB, free: 12.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000298/0.5101, allocations: 325.2 kB / 0.51 GB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.5102, allocations: 16.03 kB / 0.5101 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.5103, allocations: 30.56 kB / 0.5101 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.5103, allocations: 8.641 kB / 0.5101 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.5104, allocations: 170.6 kB / 0.5103 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5105, allocations: 3.562 kB / 0.5103 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.5105, allocations: 7.938 kB / 0.5103 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.5106, allocations: 41.12 kB / 0.5103 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5107, allocations: 3.562 kB / 0.5103 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.5107, allocations: 0 / 0.5103 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5107, allocations: 3.953 kB / 0.5103 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.5107, allocations: 16 kB / 0.5103 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.5112, allocations: 291.9 kB / 0.5106 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/0.5113, allocations: 45.33 kB / 0.5106 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.5114, allocations: 12.3 kB / 0.5107 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.5114, allocations: 0 / 0.5107 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.5114, allocations: 42.59 kB / 0.5107 GB, free: 10.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.5114, allocations: 0 / 0.5107 GB, free: 10.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000308/0.5117, allocations: 72.31 kB / 0.5108 GB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.5118, allocations: 51.41 kB / 0.5108 GB, free: 10.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5119, allocations: 89 kB / 0.5109 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.512, allocations: 28.95 kB / 0.5109 GB, free: 10.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.512, allocations: 84.12 kB / 0.511 GB, free: 10.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.5121, allocations: 14.25 kB / 0.511 GB, free: 10.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.5121, allocations: 0 / 0.511 GB, free: 10.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5122, allocations: 318.3 kB / 0.5113 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.5123, allocations: 8 kB / 0.5113 GB, free: 10.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.5124, allocations: 24.58 kB / 0.5114 GB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.5124, allocations: 8 kB / 0.5114 GB, free: 10.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5124, allocations: 0 / 0.5114 GB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.776e-05/0.5125, allocations: 63.64 kB / 0.5114 GB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5125, allocations: 4 kB / 0.5114 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5126, allocations: 4.031 kB / 0.5114 GB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5126, allocations: 4 kB / 0.5114 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5127, allocations: 11.98 kB / 0.5114 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.5127, allocations: 7.281 kB / 0.5115 GB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.609e-05/0.5128, allocations: 10.34 kB / 0.5115 GB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.5128, allocations: 0 / 0.5115 GB, free: 10.08 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.698e-05/0.5129, allocations: 112.9 kB / 0.5116 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.5129, allocations: 3.953 kB / 0.5116 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.5129, allocations: 6.438 kB / 0.5116 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.513, allocations: 11.94 kB / 0.5116 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.513, allocations: 0 / 0.5116 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.513, allocations: 0 / 0.5116 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.5132, allocations: 155.5 kB / 0.5117 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.5132, allocations: 3.984 kB / 0.5117 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.5133, allocations: 4 kB / 0.5117 GB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.5135, allocations: 12.86 kB / 0.5118 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.5135, allocations: 11.31 kB / 0.5118 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.5146, allocations: 1.246 MB / 0.513 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5146, allocations: 0 / 0.513 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.5148, allocations: 179.2 kB / 0.5132 GB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.5148, allocations: 85.09 kB / 0.5132 GB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-06/0.5149, allocations: 0 / 0.5132 GB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.5149, allocations: 0 / 0.5132 GB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.5149, allocations: 7.984 kB / 0.5132 GB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.515, allocations: 0 / 0.5132 GB, free: 8.074 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.601e-05/0.515, allocations: 83.22 kB / 0.5133 GB, free: 7.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.515, allocations: 0 / 0.5133 GB, free: 7.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.5153, allocations: 15.97 kB / 0.5133 GB, free: 7.98 MB / 330.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 () * 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.0005044/0.5158, allocations: 0.7039 MB / 0.514 GB, free: 7.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.953e-05/0.5159, allocations: 23.73 kB / 0.5141 GB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5159, allocations: 4.125 kB / 0.5141 GB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.5161, allocations: 121.6 kB / 0.5142 GB, free: 7.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.5163, allocations: 6.734 kB / 0.5142 GB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.5167, allocations: 142.7 kB / 0.5143 GB, free: 6.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.517, allocations: 0.6848 MB / 0.515 GB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.291e-05/0.517, allocations: 4 kB / 0.515 GB, free: 6.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.517, allocations: 10.88 kB / 0.515 GB, free: 6.215 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.517, allocations: 4 kB / 0.515 GB, free: 6.211 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.5303, allocations: 1.249 MB / 0.5162 GB, free: 5.207 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.5307, allocations: 237 kB / 0.5164 GB, free: 4.902 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.002, allocations: 0 / 0.5164 GB, free: 4.902 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)