Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",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.00125/0.00125, allocations: 174.7 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.485/1.485, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.000989/0.0009889, allocations: 97.95 kB / 285.6 MB, free: 12.99 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.002554/0.002554, allocations: 0.5675 MB / 337 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.07e-05, allocations: 0 / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09716, allocations: 50.58 MB / 446.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.4524, allocations: 75.1 MB / 0.509 GB, free: 12.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4528, allocations: 66.91 kB / 0.5091 GB, free: 12.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00151/0.4543, allocations: 0.595 MB / 0.5097 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4543, allocations: 4 kB / 0.5097 GB, free: 12.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4543, allocations: 0 / 0.5097 GB, free: 12.01 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.0003343/0.4547, allocations: 323 kB / 0.51 GB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.4547, allocations: 12.03 kB / 0.51 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.4548, allocations: 34.88 kB / 0.51 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.4549, allocations: 12.62 kB / 0.51 GB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.4551, allocations: 164 kB / 0.5102 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4551, allocations: 2.953 kB / 0.5102 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.4551, allocations: 7.656 kB / 0.5102 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.4553, allocations: 49.5 kB / 0.5103 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4553, allocations: 0 / 0.5103 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4553, allocations: 3.25 kB / 0.5103 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4553, allocations: 7.953 kB / 0.5103 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.656e-05/0.4554, allocations: 11.19 kB / 0.5103 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.4558, allocations: 244.7 kB / 0.5105 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4559, allocations: 54.38 kB / 0.5106 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.4559, allocations: 22.98 kB / 0.5106 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.456, allocations: 0 / 0.5106 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.456, allocations: 30.56 kB / 0.5106 GB, free: 10.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.456, allocations: 0 / 0.5106 GB, free: 10.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008173/0.4568, allocations: 0.4955 MB / 0.5111 GB, free: 10.37 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.4569, allocations: 58.78 kB / 0.5112 GB, free: 10.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.457, allocations: 89 kB / 0.5112 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.457, allocations: 29.14 kB / 0.5113 GB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.4571, allocations: 80.14 kB / 0.5113 GB, free: 10.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.4571, allocations: 31.36 kB / 0.5114 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.4571, allocations: 0 / 0.5114 GB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4572, allocations: 314.3 kB / 0.5117 GB, free: 9.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.4573, allocations: 19.38 kB / 0.5117 GB, free: 9.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.106e-05/0.4573, allocations: 36.33 kB / 0.5117 GB, free: 9.707 MB / 330.7 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.4577, allocations: 193 kB / 0.5119 GB, free: 9.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4577, allocations: 3.828 kB / 0.5119 GB, free: 9.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.4579, allocations: 101.2 kB / 0.512 GB, free: 9.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4579, allocations: 4 kB / 0.512 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4579, allocations: 4 kB / 0.512 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.458, allocations: 24.23 kB / 0.512 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.4581, allocations: 11.98 kB / 0.5121 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.4592, allocations: 1.295 MB / 0.5133 GB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.4593, allocations: 0 / 0.5133 GB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4593, allocations: 4.031 kB / 0.5133 GB, free: 7.965 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: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.724e-05/0.4594, allocations: 108.2 kB / 0.5134 GB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.4594, allocations: 4 kB / 0.5134 GB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.4594, allocations: 10.84 kB / 0.5134 GB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4594, allocations: 0 / 0.5134 GB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4595, allocations: 4.062 kB / 0.5134 GB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4595, allocations: 3.984 kB / 0.5134 GB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.4599, allocations: 367.2 kB / 0.5138 GB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.46, allocations: 7.984 kB / 0.5138 GB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.46, allocations: 8.875 kB / 0.5138 GB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-05/0.4601, allocations: 28.83 kB / 0.5138 GB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4601, allocations: 7.25 kB / 0.5138 GB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000912/0.461, allocations: 1.279 MB / 0.5151 GB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.461, allocations: 8.031 kB / 0.5151 GB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.4613, allocations: 260.3 kB / 0.5153 GB, free: 5.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.4614, allocations: 85.05 kB / 0.5154 GB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.4614, allocations: 3.984 kB / 0.5154 GB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.261e-05/0.4614, allocations: 0 / 0.5154 GB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.4615, allocations: 11.45 kB / 0.5154 GB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4615, allocations: 4 kB / 0.5154 GB, free: 5.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.519e-05/0.4615, allocations: 83.27 kB / 0.5155 GB, free: 5.531 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4615, allocations: 0 / 0.5155 GB, free: 5.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.4618, allocations: 11.44 kB / 0.5155 GB, free: 5.523 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006094/0.4624, allocations: 0.9991 MB / 0.5165 GB, free: 4.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.4627, allocations: 165.5 kB / 0.5167 GB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4627, allocations: 0 / 0.5167 GB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.4629, allocations: 145.9 kB / 0.5168 GB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.463, allocations: 15.22 kB / 0.5168 GB, free: 4.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.4634, allocations: 173.5 kB / 0.517 GB, free: 3.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4637, allocations: 0.6887 MB / 0.5177 GB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.123e-05/0.4638, allocations: 4.188 kB / 0.5177 GB, free: 3.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.4638, allocations: 10.88 kB / 0.5177 GB, free: 3.25 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4638, allocations: 3.938 kB / 0.5177 GB, free: 3.246 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.4762, allocations: 1.544 MB / 0.5192 GB, free: 1.953 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.4765, allocations: 244.1 kB / 0.5194 GB, free: 1.625 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.977, allocations: 0 / 0.5194 GB, free: 1.625 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)