Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.001235/0.001236, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001424/0.001424, allocations: 192.2 kB / 16.25 MB, free: 6.617 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.003346/0.003347, allocations: 0.5696 MB / 290.7 MB, free: 1.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.88 kB / 351.2 MB, free: 2.523 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 49.6 MB / 400.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.1901/0.2958, allocations: 1.682 MB / 402.4 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002676/0.2961, allocations: 90.39 kB / 402.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.2961, allocations: 1.594 kB / 402.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.282e-05/0.2963, allocations: 12.45 kB / 402.6 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2964, allocations: 31.19 kB / 402.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.2965, allocations: 18.44 kB / 402.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2967, allocations: 109.5 kB / 402.7 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.2968, allocations: 33.14 kB / 402.7 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.2969, allocations: 35.75 kB / 402.8 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/0.297, allocations: 43.88 kB / 402.8 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.297, allocations: 9.594 kB / 402.8 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.28e-05/0.297, allocations: 7.438 kB / 402.8 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.2971, allocations: 25.55 kB / 402.9 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.2971, allocations: 48.86 kB / 402.9 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.2973, allocations: 109.4 kB / 403 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2973, allocations: 0.5312 kB / 403 MB, free: 9.816 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.2973, allocations: 0.75 kB / 403 MB, free: 9.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2973, allocations: 0.5312 kB / 403 MB, free: 9.816 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.0004297/0.2977, allocations: 397.3 kB / 403.4 MB, free: 9.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2978, allocations: 10.58 kB / 403.4 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.2978, allocations: 46.42 kB / 403.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.2979, allocations: 14.91 kB / 403.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.298, allocations: 193.1 kB / 403.7 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.298, allocations: 5.125 kB / 403.7 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.2981, allocations: 14.59 kB / 403.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.2983, allocations: 99.06 kB / 403.8 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2983, allocations: 5.516 kB / 403.8 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2983, allocations: 6.969 kB / 403.8 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2983, allocations: 6 kB / 403.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.2984, allocations: 56.66 kB / 403.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.2989, allocations: 384.8 kB / 404.2 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.2991, allocations: 104.8 kB / 404.3 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.2992, allocations: 35.86 kB / 404.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.2992, allocations: 2.078 kB / 404.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.2992, allocations: 31.81 kB / 404.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.2992, allocations: 1.188 kB / 404.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000969/0.3002, allocations: 0.6926 MB / 405.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.3002, allocations: 52.53 kB / 405.1 MB, free: 8.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.3003, allocations: 122.9 kB / 405.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3003, allocations: 30.98 kB / 405.3 MB, free: 8.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.3004, allocations: 98.69 kB / 405.4 MB, free: 7.922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.3004, allocations: 55.27 kB / 405.4 MB, free: 7.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.3005, allocations: 37.3 kB / 405.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.3005, allocations: 321 kB / 405.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.3006, allocations: 32.56 kB / 405.8 MB, free: 7.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.3007, allocations: 61.83 kB / 405.9 MB, free: 7.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3008, allocations: 104.1 kB / 406 MB, free: 7.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3008, allocations: 4 kB / 406 MB, free: 7.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000232/0.301, allocations: 164.4 kB / 406.2 MB, free: 7.324 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3011, allocations: 4.438 kB / 406.2 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3011, allocations: 1.031 kB / 406.2 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.3012, allocations: 32.91 kB / 406.2 MB, free: 7.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3013, allocations: 26 kB / 406.2 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000876/0.3022, allocations: 1.627 MB / 407.8 MB, free: 5.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.3023, allocations: 5.188 kB / 407.8 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3023, allocations: 7.531 kB / 407.9 MB, free: 5.684 MB / 286.1 MB 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.538e-05/0.3024, allocations: 128.7 kB / 408 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3024, allocations: 8.781 kB / 408 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.3024, allocations: 19.3 kB / 408 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3024, allocations: 1.875 kB / 408 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3025, allocations: 5.094 kB / 408 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3025, allocations: 5.469 kB / 408 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.303, allocations: 0.5399 MB / 408.6 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.303, allocations: 1.125 kB / 408.6 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3031, allocations: 29.36 kB / 408.6 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.287e-05/0.3032, allocations: 24.83 kB / 408.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3032, allocations: 6.156 kB / 408.6 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005593/0.3038, allocations: 1.367 MB / 410 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3038, allocations: 3.938 kB / 410 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.3041, allocations: 307.2 kB / 410.3 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.3041, allocations: 84.17 kB / 410.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3041, allocations: 9.562 kB / 410.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.3042, allocations: 4.375 kB / 410.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.3043, allocations: 24.45 kB / 410.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3043, allocations: 4.156 kB / 410.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.3043, allocations: 91.28 kB / 410.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3043, allocations: 0 / 410.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3046, allocations: 30.16 kB / 410.5 MB, free: 3.188 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0004465/0.3051, allocations: 0.8361 MB / 411.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.3054, allocations: 233 kB / 411.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3055, allocations: 0 / 411.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3056, allocations: 171.1 kB / 411.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.306, allocations: 26.06 kB / 411.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.3075, allocations: 1.866 MB / 413.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3077, allocations: 0.7045 MB / 414.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.3078, allocations: 17.19 kB / 414.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.3079, allocations: 31.5 kB / 414.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3079, allocations: 1.25 kB / 414.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.3345, allocations: 2.835 MB / 417.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.3348, allocations: 289 kB / 417.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.12, allocations: 0 / 417.5 MB, free: 15.11 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)