Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",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.001451/0.001451, allocations: 173.9 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.525/1.525, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0009046/0.0009045, allocations: 98.23 kB / 280.5 MB, free: 5.305 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.00288/0.00288, allocations: 0.5659 MB / 331.8 MB, free: 14.53 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.463e-05, allocations: 4 kB / 388.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 50.57 MB / 439.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08932/0.3275, allocations: 75.83 MB / 0.503 GB, free: 7.289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.3277, allocations: 63.97 kB / 0.5031 GB, free: 7.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007701/0.3354, allocations: 2.938 MB / 0.5059 GB, free: 4.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3355, allocations: 4 kB / 0.5059 GB, free: 4.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3355, allocations: 4 kB / 0.506 GB, free: 4.262 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.0003751/0.3359, allocations: 370.5 kB / 0.5063 GB, free: 3.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3359, allocations: 8.031 kB / 0.5063 GB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.3359, allocations: 15.86 kB / 0.5063 GB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3361, allocations: 182.7 kB / 0.5065 GB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3361, allocations: 4 kB / 0.5065 GB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3361, allocations: 8 kB / 0.5065 GB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/0.3363, allocations: 48.36 kB / 0.5066 GB, free: 3.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3364, allocations: 78.98 kB / 0.5066 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3364, allocations: 0 / 0.5066 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3364, allocations: 0 / 0.5066 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3364, allocations: 3.953 kB / 0.5066 GB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.3369, allocations: 353.7 kB / 0.507 GB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.3371, allocations: 90.52 kB / 0.5071 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.3371, allocations: 28.86 kB / 0.5071 GB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3372, allocations: 8.141 kB / 0.5071 GB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3372, allocations: 46.5 kB / 0.5071 GB, free: 2.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.3372, allocations: 0 / 0.5071 GB, free: 2.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008995/0.3381, allocations: 0.6076 MB / 0.5077 GB, free: 2.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3381, allocations: 51.41 kB / 0.5078 GB, free: 2.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.3382, allocations: 113 kB / 0.5079 GB, free: 2.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3383, allocations: 25.7 kB / 0.5079 GB, free: 1.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3383, allocations: 99.97 kB / 0.508 GB, free: 1.879 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.3384, allocations: 51.2 kB / 0.5081 GB, free: 1.828 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-06/0.3384, allocations: 0 / 0.5081 GB, free: 1.828 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.3385, allocations: 322.8 kB / 0.5084 GB, free: 1.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.3385, allocations: 28.19 kB / 0.5084 GB, free: 1.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.3386, allocations: 58.75 kB / 0.5085 GB, free: 1.41 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.0005266/0.3391, allocations: 302 kB / 0.5087 GB, free: 1.078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3391, allocations: 4 kB / 0.5087 GB, free: 1.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002343/0.3394, allocations: 157.5 kB / 0.5089 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3394, allocations: 8 kB / 0.5089 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3394, allocations: 3.938 kB / 0.5089 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.3395, allocations: 25.22 kB / 0.5089 GB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.3396, allocations: 27.98 kB / 0.509 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.3407, allocations: 1.386 MB / 0.5103 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.3407, allocations: 0 / 0.5103 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.3407, allocations: 7.938 kB / 0.5103 GB, free: 15.34 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 9.121e-05/0.3408, allocations: 123.8 kB / 0.5104 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000202/0.341, allocations: 126.3 kB / 0.5106 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.3411, allocations: 8.156 kB / 0.5106 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.3411, allocations: 12.75 kB / 0.5106 GB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3411, allocations: 7.953 kB / 0.5106 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3412, allocations: 4 kB / 0.5106 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3412, allocations: 3.984 kB / 0.5106 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005979/0.3418, allocations: 0.5478 MB / 0.5111 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3418, allocations: 0 / 0.5111 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.3419, allocations: 23.94 kB / 0.5111 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.124e-05/0.342, allocations: 20.84 kB / 0.5112 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.342, allocations: 8.094 kB / 0.5112 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008111/0.3428, allocations: 1.221 MB / 0.5124 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3428, allocations: 8.094 kB / 0.5124 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.3432, allocations: 323.5 kB / 0.5127 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.3432, allocations: 89 kB / 0.5128 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3432, allocations: 7.953 kB / 0.5128 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.3433, allocations: 0 / 0.5128 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.3433, allocations: 15.92 kB / 0.5128 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-06/0.3434, allocations: 4 kB / 0.5128 GB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.123e-05/0.3434, allocations: 83.28 kB / 0.5129 GB, free: 12.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3434, allocations: 0 / 0.5129 GB, free: 12.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.3437, allocations: 28 kB / 0.5129 GB, free: 12.41 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.0006201/0.3444, allocations: 1.052 MB / 0.5139 GB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.3447, allocations: 205.6 kB / 0.5141 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3447, allocations: 0 / 0.5141 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3449, allocations: 158 kB / 0.5143 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.3451, allocations: 23.88 kB / 0.5143 GB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.3458, allocations: 337.7 kB / 0.5146 GB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3461, allocations: 0.7045 MB / 0.5153 GB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.951e-05/0.3461, allocations: 8.766 kB / 0.5153 GB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3462, allocations: 43.36 kB / 0.5154 GB, free: 9.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3462, allocations: 0 / 0.5154 GB, free: 9.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.3668, allocations: 2.145 MB / 0.5175 GB, free: 7.652 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.3671, allocations: 208.3 kB / 0.5177 GB, free: 7.371 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.961, allocations: 0 / 0.5177 GB, free: 7.371 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)