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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 197 kB / 16.53 MB, free: 6.664 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.633/1.633, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.004195/0.004195, allocations: 0.5624 MB / 290.9 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.89 kB / 351.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1678, allocations: 49.59 MB / 401.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.002409/0.1702, allocations: 0.5068 MB / 401.8 MB, free: 88 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.1705, allocations: 27.89 kB / 401.8 MB, free: 60 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.1705, allocations: 0 / 401.8 MB, free: 60 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.1705, allocations: 3.938 kB / 401.8 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.063e-05/0.1706, allocations: 7.938 kB / 401.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.1707, allocations: 15.97 kB / 401.8 MB, free: 32 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.1708, allocations: 12 kB / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.1709, allocations: 3.984 kB / 401.8 MB, free: 16 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.171, allocations: 11.88 kB / 401.8 MB, free: 4 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3216/0.4926, allocations: 9.141 kB / 401.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.4928, allocations: 1.781 kB / 401.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.208e-05/0.4928, allocations: 1.094 kB / 401.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.4929, allocations: 6.234 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.4929, allocations: 10.41 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.4931, allocations: 12.52 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.4931, allocations: 0 / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.4931, allocations: 0.5625 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.4931, allocations: 0.5312 kB / 401.9 MB, free: 10.34 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.0006383/0.4938, allocations: 336.9 kB / 402.2 MB, free: 9.992 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/0.4939, allocations: 13.86 kB / 402.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.4939, allocations: 32.58 kB / 402.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.494, allocations: 4.969 kB / 402.3 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.4941, allocations: 165.6 kB / 402.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4941, allocations: 5.594 kB / 402.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.4941, allocations: 2.781 kB / 402.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.4943, allocations: 45.77 kB / 402.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4943, allocations: 7.438 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4943, allocations: 1.156 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4943, allocations: 0.75 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.4944, allocations: 15 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.495, allocations: 300.8 kB / 402.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.4951, allocations: 46.36 kB / 402.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.4952, allocations: 13.59 kB / 402.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.4952, allocations: 1.062 kB / 402.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4952, allocations: 36.08 kB / 402.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4953, allocations: 0 / 402.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005381/0.4958, allocations: 160.1 kB / 403 MB, free: 9.211 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.4959, allocations: 52.11 kB / 403.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.496, allocations: 98.75 kB / 403.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.496, allocations: 26.36 kB / 403.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.496, allocations: 97.02 kB / 403.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.4961, allocations: 15.38 kB / 403.3 MB, free: 8.918 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.4961, allocations: 22.81 kB / 403.3 MB, free: 8.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.4962, allocations: 320.8 kB / 403.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.4963, allocations: 6.094 kB / 403.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.4963, allocations: 22.3 kB / 403.7 MB, free: 8.566 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.723e-05/0.4964, allocations: 34.09 kB / 403.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4964, allocations: 0 / 403.7 MB, free: 8.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001059/0.4965, allocations: 67.28 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4965, allocations: 4.781 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.4966, allocations: 2.625 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.4966, allocations: 0.7188 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4967, allocations: 12.61 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.4967, allocations: 1.844 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.4967, allocations: 1.031 kB / 403.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.4968, allocations: 7.875 kB / 403.8 MB, free: 8.516 MB / 286.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.4968, allocations: 122.8 kB / 403.9 MB, free: 8.391 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.4969, allocations: 6.078 kB / 403.9 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.4969, allocations: 7.734 kB / 403.9 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4969, allocations: 0.8438 kB / 404 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4969, allocations: 0.6562 kB / 404 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4969, allocations: 2.406 kB / 404 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.4971, allocations: 162.5 kB / 404.1 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4971, allocations: 0 / 404.1 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.4972, allocations: 4.859 kB / 404.1 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.4973, allocations: 23.52 kB / 404.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4973, allocations: 5.094 kB / 404.1 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000845/0.4982, allocations: 1.348 MB / 405.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4982, allocations: 0 / 405.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.4984, allocations: 183.3 kB / 405.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.4984, allocations: 77.89 kB / 405.7 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.4985, allocations: 1.328 kB / 405.7 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.4985, allocations: 5.156 kB / 405.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.4985, allocations: 7.219 kB / 405.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.4985, allocations: 1.438 kB / 405.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.433e-05/0.4986, allocations: 79.75 kB / 405.8 MB, free: 6.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4986, allocations: 0 / 405.8 MB, free: 6.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.4988, allocations: 4.781 kB / 405.8 MB, free: 6.5 MB / 286.1 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 () * Number of clocked 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 (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.0003655/0.4992, allocations: 0.7121 MB / 406.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.4993, allocations: 25.64 kB / 406.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4993, allocations: 0.5938 kB / 406.6 MB, free: 5.816 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.4995, allocations: 130.5 kB / 406.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.4998, allocations: 8.359 kB / 406.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.5008, allocations: 1.25 MB / 408 MB, free: 4.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.501, allocations: 0.6819 MB / 408.7 MB, free: 3.832 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.5011, allocations: 1.938 kB / 408.7 MB, free: 3.832 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.5011, allocations: 12.42 kB / 408.7 MB, free: 3.824 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5011, allocations: 0 / 408.7 MB, free: 3.824 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.5295, allocations: 1.447 MB / 410.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.57, allocations: 7.547 kB / 410.1 MB, free: 3.48 MB / 286.1 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/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)