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/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+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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001247/0.001247, allocations: 191.5 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00247/0.00247, allocations: 0.5662 MB / 290.5 MB, free: 1.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 60.09 kB / 351 MB, free: 2.719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0777/0.07879, allocations: 49.6 MB / 400.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.1294/0.2082, allocations: 1.706 MB / 402.3 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001942/0.2084, allocations: 96.66 kB / 402.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.2085, allocations: 1.438 kB / 402.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.2086, allocations: 10.5 kB / 402.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.2087, allocations: 33.38 kB / 402.4 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.2088, allocations: 17.16 kB / 402.4 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.2089, allocations: 105 kB / 402.5 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.209, allocations: 31.77 kB / 402.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.209, allocations: 35.66 kB / 402.6 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.2091, allocations: 45.62 kB / 402.6 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2091, allocations: 5.469 kB / 402.7 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.022e-05/0.2092, allocations: 7.281 kB / 402.7 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.2092, allocations: 16.39 kB / 402.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.2093, allocations: 47.72 kB / 402.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.2094, allocations: 103.4 kB / 402.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2094, allocations: 4.625 kB / 402.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2094, allocations: 1.312 kB / 402.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.2094, allocations: 0 / 402.8 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003599/0.2098, allocations: 399.7 kB / 403.2 MB, free: 9.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2098, allocations: 10.03 kB / 403.2 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.2098, allocations: 46.53 kB / 403.3 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.2099, allocations: 13.91 kB / 403.3 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.21, allocations: 182.6 kB / 403.5 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.21, allocations: 11.19 kB / 403.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.21, allocations: 14.66 kB / 403.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2102, allocations: 94.75 kB / 403.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2102, allocations: 0.8438 kB / 403.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2102, allocations: 9.297 kB / 403.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2102, allocations: 5.656 kB / 403.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.2103, allocations: 58.06 kB / 403.7 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.2108, allocations: 390.4 kB / 404 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.2109, allocations: 99.86 kB / 404.1 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.211, allocations: 40.89 kB / 404.2 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.211, allocations: 1.188 kB / 404.2 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.211, allocations: 36.42 kB / 404.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.211, allocations: 4.938 kB / 404.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008509/0.2119, allocations: 0.6799 MB / 404.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.2119, allocations: 54.27 kB / 405 MB, free: 8.234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.212, allocations: 122.9 kB / 405.1 MB, free: 8.133 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.212, allocations: 35.08 kB / 405.1 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.2121, allocations: 97.94 kB / 405.2 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.2121, allocations: 59.31 kB / 405.3 MB, free: 7.969 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.2121, allocations: 34.48 kB / 405.3 MB, free: 7.953 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.2122, allocations: 320.8 kB / 405.6 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.2122, allocations: 33.41 kB / 405.6 MB, free: 7.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.2123, allocations: 64.33 kB / 405.7 MB, free: 7.613 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006195/0.2129, allocations: 415.4 kB / 406.1 MB, free: 7.391 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2129, allocations: 3.938 kB / 406.1 MB, free: 7.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002212/0.2132, allocations: 170.9 kB / 406.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2132, allocations: 4.406 kB / 406.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2132, allocations: 1.094 kB / 406.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.2133, allocations: 27.77 kB / 406.3 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.2134, allocations: 24.28 kB / 406.3 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000737/0.2141, allocations: 1.455 MB / 407.8 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.2142, allocations: 5.312 kB / 407.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2142, allocations: 3.781 kB / 407.8 MB, free: 5.855 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 system: mass1.v = $START.mass1.v mass2.s = $START.mass2.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.28e-05/0.2143, allocations: 147.3 kB / 407.9 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2143, allocations: 9.406 kB / 408 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.2144, allocations: 16.19 kB / 408 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2144, allocations: 2.219 kB / 408 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.2144, allocations: 1 kB / 408 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2144, allocations: 0 / 408 MB, free: 5.695 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.2149, allocations: 0.5982 MB / 408.6 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2149, allocations: 1.094 kB / 408.6 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.215, allocations: 27.89 kB / 408.6 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.732e-05/0.215, allocations: 20.64 kB / 408.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2151, allocations: 9.938 kB / 408.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000506/0.2156, allocations: 1.266 MB / 409.9 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2156, allocations: 1.281 kB / 409.9 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.2159, allocations: 313.4 kB / 410.2 MB, free: 3.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/0.2159, allocations: 84.55 kB / 410.3 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.2159, allocations: 7.703 kB / 410.3 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.216, allocations: 3.844 kB / 410.3 MB, free: 3.484 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.216, allocations: 15.95 kB / 410.3 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.216, allocations: 7.812 kB / 410.3 MB, free: 3.477 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.195e-05/0.2161, allocations: 92.66 kB / 410.4 MB, free: 3.395 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2161, allocations: 0 / 410.4 MB, free: 3.395 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.2163, allocations: 32.91 kB / 410.4 MB, free: 3.391 MB / 286.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004089/0.2168, allocations: 0.8282 MB / 411.3 MB, free: 2.629 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.2171, allocations: 232.8 kB / 411.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2171, allocations: 4 kB / 411.5 MB, free: 2.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.2173, allocations: 169.2 kB / 411.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2176, allocations: 24.53 kB / 411.7 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.219, allocations: 1.872 MB / 413.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2191, allocations: 0.7088 MB / 414.3 MB, free: 20 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.89e-05/0.2192, allocations: 10.16 kB / 414.3 MB, free: 20 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.2193, allocations: 26.92 kB / 414.3 MB, free: 0 / 286.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2193, allocations: 1.375 kB / 414.3 MB, free: 0 / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1634/0.3826, allocations: 2.827 MB / 417.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/0.3829, allocations: 297.8 kB / 417.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.031, allocations: 0 / 417.4 MB, free: 15.29 MB / 302.1 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/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)