Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",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.001147/0.001147, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001193/0.001194, allocations: 190.9 kB / 16.25 MB, free: 6.629 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.003685/0.003685, allocations: 0.5698 MB / 290.7 MB, free: 1.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 351.2 MB, free: 2.547 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1028, allocations: 49.61 MB / 400.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.1927/0.2956, allocations: 1.692 MB / 402.5 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.2959, allocations: 90.33 kB / 402.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.2959, allocations: 1.844 kB / 402.6 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.873e-05/0.296, allocations: 12.95 kB / 402.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.2962, allocations: 26.09 kB / 402.6 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2963, allocations: 19.12 kB / 402.6 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.2964, allocations: 111.5 kB / 402.7 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2966, allocations: 34.02 kB / 402.8 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.2967, allocations: 37 kB / 402.8 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.2968, allocations: 44.53 kB / 402.8 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.2968, allocations: 12.44 kB / 402.8 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.404e-05/0.2968, allocations: 8.031 kB / 402.9 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.2969, allocations: 24.16 kB / 402.9 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.2969, allocations: 47.41 kB / 402.9 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2971, allocations: 111.8 kB / 403 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2971, allocations: 0 / 403 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2971, allocations: 0.5625 kB / 403 MB, free: 9.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.2971, allocations: 0 / 403 MB, free: 9.805 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.000447/0.2976, allocations: 399.1 kB / 403.4 MB, free: 9.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.2976, allocations: 10.12 kB / 403.4 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.2977, allocations: 41.34 kB / 403.5 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.2977, allocations: 20.09 kB / 403.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2979, allocations: 189.4 kB / 403.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2979, allocations: 8 kB / 403.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.2979, allocations: 14.47 kB / 403.7 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2981, allocations: 95.91 kB / 403.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2981, allocations: 0.8438 kB / 403.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2982, allocations: 4.906 kB / 403.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2982, allocations: 2.25 kB / 403.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2983, allocations: 59.36 kB / 403.9 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.2988, allocations: 393.7 kB / 404.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.299, allocations: 96.36 kB / 404.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.2991, allocations: 45.86 kB / 404.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.2991, allocations: 3.781 kB / 404.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.2991, allocations: 31.06 kB / 404.4 MB, free: 8.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.2991, allocations: 4.969 kB / 404.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009871/0.3001, allocations: 0.6784 MB / 405.1 MB, free: 8.254 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.3001, allocations: 54.78 kB / 405.1 MB, free: 8.191 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.3002, allocations: 124.5 kB / 405.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.3002, allocations: 29.7 kB / 405.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.3003, allocations: 102.9 kB / 405.4 MB, free: 7.949 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.3003, allocations: 55.7 kB / 405.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.3004, allocations: 34.8 kB / 405.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.3004, allocations: 320.7 kB / 405.8 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.3005, allocations: 34.89 kB / 405.8 MB, free: 7.551 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.3006, allocations: 65.12 kB / 405.9 MB, free: 7.508 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.0006924/0.3013, allocations: 412.9 kB / 406.3 MB, free: 7.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3013, allocations: 7.938 kB / 406.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002362/0.3015, allocations: 162.6 kB / 406.5 MB, free: 7.117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3016, allocations: 6.453 kB / 406.5 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3016, allocations: 3.938 kB / 406.5 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.3017, allocations: 34.41 kB / 406.5 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.3018, allocations: 24.17 kB / 406.5 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/0.3027, allocations: 1.615 MB / 408.2 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.3027, allocations: 6.062 kB / 408.2 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3028, allocations: 7.5 kB / 408.2 MB, free: 5.484 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 8.53e-05/0.3029, allocations: 131.7 kB / 408.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.3029, allocations: 13 kB / 408.3 MB, free: 5.348 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.3029, allocations: 15.81 kB / 408.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3029, allocations: 2.859 kB / 408.3 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3029, allocations: 4.062 kB / 408.3 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.303, allocations: 1.656 kB / 408.3 MB, free: 5.328 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.0005473/0.3035, allocations: 0.5941 MB / 408.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3035, allocations: 8.062 kB / 408.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.3036, allocations: 27.73 kB / 409 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.677e-05/0.3037, allocations: 20.55 kB / 409 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3037, allocations: 2.562 kB / 409 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005645/0.3043, allocations: 1.369 MB / 410.4 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3043, allocations: 5.25 kB / 410.4 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.3046, allocations: 304 kB / 410.7 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3046, allocations: 86.33 kB / 410.7 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3046, allocations: 9.031 kB / 410.7 MB, free: 3.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.3047, allocations: 3.516 kB / 410.7 MB, free: 3.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.3048, allocations: 17.3 kB / 410.8 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.3048, allocations: 3.906 kB / 410.8 MB, free: 3.012 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.214e-05/0.3048, allocations: 93.58 kB / 410.9 MB, free: 2.934 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3048, allocations: 0 / 410.9 MB, free: 2.934 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.3051, allocations: 30.72 kB / 410.9 MB, free: 2.93 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.0004313/0.3056, allocations: 0.8449 MB / 411.7 MB, free: 2.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.306, allocations: 231.6 kB / 412 MB, free: 2.008 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.306, allocations: 4.125 kB / 412 MB, free: 2.004 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.3061, allocations: 165.9 kB / 412.1 MB, free: 1.875 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3064, allocations: 25.56 kB / 412.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.3081, allocations: 1.886 MB / 414 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.3083, allocations: 0.7076 MB / 414.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.3084, allocations: 10.72 kB / 414.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.3085, allocations: 31.67 kB / 414.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3085, allocations: 0 / 414.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.346, allocations: 2.888 MB / 417.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.3462, allocations: 285 kB / 418 MB, free: 14.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.133, allocations: 0 / 418 MB, free: 14.84 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)