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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008928/0.000893, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003671/0.003671, allocations: 0.5467 MB / 291.6 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003446, allocations: 8 kB / 352.8 MB, free: 2.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 50.58 MB / 403.3 MB, free: 136 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.2367/0.3619, allocations: 244.6 kB / 403.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.3621, allocations: 27.77 kB / 403.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.3621, allocations: 0 / 403.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.3621, allocations: 0.625 kB / 403.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.592e-05/0.3622, allocations: 0 / 403.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.3623, allocations: 9.781 kB / 403.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.3624, allocations: 14.75 kB / 403.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.3624, allocations: 7.859 kB / 403.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.421e-05/0.3625, allocations: 13.14 kB / 403.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.3625, allocations: 5.969 kB / 403.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3626, allocations: 1.906 kB / 403.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.3626, allocations: 1.188 kB / 403.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.3626, allocations: 10.05 kB / 403.7 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.3626, allocations: 32.14 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.788e-05/0.3627, allocations: 10.53 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3627, allocations: 0 / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.3627, allocations: 1.359 kB / 403.7 MB, free: 9.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.3627, allocations: 0 / 403.7 MB, free: 9.82 MB / 286.1 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.0003003/0.363, allocations: 329.7 kB / 404 MB, free: 9.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3631, allocations: 9.656 kB / 404 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.3631, allocations: 32.81 kB / 404.1 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.3631, allocations: 6.562 kB / 404.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.924e-05/0.3632, allocations: 168.4 kB / 404.2 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3632, allocations: 2.062 kB / 404.3 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.3633, allocations: 3.812 kB / 404.3 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3634, allocations: 48.17 kB / 404.3 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3634, allocations: 1.516 kB / 404.3 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.3634, allocations: 0 / 404.3 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3634, allocations: 5.453 kB / 404.3 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.3635, allocations: 16.78 kB / 404.3 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.3637, allocations: 254.9 kB / 404.6 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3639, allocations: 53.61 kB / 404.6 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.3639, allocations: 18.62 kB / 404.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.3639, allocations: 0.875 kB / 404.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.3639, allocations: 32.34 kB / 404.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.364, allocations: 0 / 404.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000673/0.3646, allocations: 0.5054 MB / 405.2 MB, free: 8.395 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.3647, allocations: 54.33 kB / 405.2 MB, free: 8.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/0.3647, allocations: 94.73 kB / 405.3 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.3647, allocations: 29.55 kB / 405.4 MB, free: 8.203 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.245e-05/0.3648, allocations: 81.94 kB / 405.4 MB, free: 8.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3648, allocations: 38.03 kB / 405.5 MB, free: 8.094 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.3648, allocations: 4.312 kB / 405.5 MB, free: 8.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.3649, allocations: 314.3 kB / 405.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.3649, allocations: 15.7 kB / 405.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.365, allocations: 28.17 kB / 405.8 MB, free: 7.766 MB / 286.1 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.0002625/0.3652, allocations: 209.1 kB / 406 MB, free: 7.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3653, allocations: 9.578 kB / 406 MB, free: 7.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001639/0.3654, allocations: 95.86 kB / 406.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3654, allocations: 5 kB / 406.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3655, allocations: 2.125 kB / 406.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.3656, allocations: 22.25 kB / 406.2 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.3657, allocations: 13.7 kB / 406.2 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009184/0.3666, allocations: 1.285 MB / 407.5 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/0.3666, allocations: 1.5 kB / 407.5 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3667, allocations: 5.828 kB / 407.5 MB, free: 6.234 MB / 286.1 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 () * Number of clocked 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.649e-05/0.3668, allocations: 123.8 kB / 407.6 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.3668, allocations: 9.547 kB / 407.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.3668, allocations: 13.41 kB / 407.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3668, allocations: 1.688 kB / 407.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3668, allocations: 1.25 kB / 407.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3669, allocations: 0.8906 kB / 407.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.3673, allocations: 366.1 kB / 408 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3673, allocations: 1.469 kB / 408 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.3673, allocations: 12.53 kB / 408 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.648e-05/0.3674, allocations: 28.5 kB / 408 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3674, allocations: 1.125 kB / 408 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007143/0.3682, allocations: 1.292 MB / 409.3 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3682, allocations: 1.844 kB / 409.3 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.3684, allocations: 228.8 kB / 409.5 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.3685, allocations: 79.92 kB / 409.6 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3685, allocations: 3.844 kB / 409.6 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.3685, allocations: 2.344 kB / 409.6 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.3686, allocations: 8.766 kB / 409.6 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3686, allocations: 3.531 kB / 409.6 MB, free: 4.207 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.939e-05/0.3686, allocations: 80.92 kB / 409.7 MB, free: 4.133 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3686, allocations: 4.062 kB / 409.7 MB, free: 4.129 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.3689, allocations: 12.28 kB / 409.7 MB, free: 4.129 MB / 286.1 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 () * Number of clocked 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.0004268/0.3693, allocations: 0.7604 MB / 410.5 MB, free: 3.426 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.3696, allocations: 168.6 kB / 410.7 MB, free: 3.309 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3696, allocations: 0 / 410.7 MB, free: 3.309 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3698, allocations: 144.9 kB / 410.8 MB, free: 3.195 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3701, allocations: 4.828 kB / 410.8 MB, free: 3.195 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.3708, allocations: 0.4919 MB / 411.3 MB, free: 2.801 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.371, allocations: 0.6886 MB / 412 MB, free: 2.102 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.225e-05/0.371, allocations: 2.641 kB / 412 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.371, allocations: 14.02 kB / 412 MB, free: 2.094 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.371, allocations: 0 / 412 MB, free: 2.094 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.3843, allocations: 1.548 MB / 413.5 MB, free: 1.91 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.3846, allocations: 289.6 kB / 413.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.351, allocations: 0 / 413.8 MB, free: 1.551 MB / 286.1 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)