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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 100.1 kB / 15.88 MB, free: 12 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.00145/0.00145, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.504 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.002637/0.002637, allocations: 0.5662 MB / 291.2 MB, free: 1.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 351.5 MB, free: 2.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09815, allocations: 49.6 MB / 401.1 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.1608/0.259, allocations: 1.689 MB / 402.8 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.2592, allocations: 95.33 kB / 402.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.2594, allocations: 6.156 kB / 402.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.2594, allocations: 9.766 kB / 402.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.2595, allocations: 31.78 kB / 403 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.2597, allocations: 22.62 kB / 403 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.2598, allocations: 102.2 kB / 403.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.2599, allocations: 31.53 kB / 403.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.329e-05/0.26, allocations: 39.34 kB / 403.1 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.2601, allocations: 44.72 kB / 403.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2601, allocations: 5.531 kB / 403.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.2602, allocations: 6.812 kB / 403.2 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.2602, allocations: 15.98 kB / 403.2 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.2602, allocations: 49.22 kB / 403.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.2604, allocations: 79.95 kB / 403.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2604, allocations: 4.531 kB / 403.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.2604, allocations: 0.625 kB / 403.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2604, allocations: 3.938 kB / 403.4 MB, free: 9.746 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.0004304/0.2608, allocations: 395 kB / 403.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2609, allocations: 14.27 kB / 403.8 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.2609, allocations: 14.47 kB / 403.8 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2611, allocations: 187.4 kB / 403.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2611, allocations: 7.594 kB / 404 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.2611, allocations: 15.12 kB / 404 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.2613, allocations: 93.53 kB / 404.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2613, allocations: 0 / 404.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2614, allocations: 5.812 kB / 404.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2614, allocations: 2.594 kB / 404.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.2615, allocations: 53.98 kB / 404.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.262, allocations: 396.1 kB / 404.5 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.2622, allocations: 101.5 kB / 404.6 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/0.2623, allocations: 38.45 kB / 404.6 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.2623, allocations: 5.812 kB / 404.7 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.2623, allocations: 32.59 kB / 404.7 MB, free: 8.746 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.2623, allocations: 0 / 404.7 MB, free: 8.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009806/0.2633, allocations: 0.6804 MB / 405.4 MB, free: 8.273 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.2633, allocations: 58.62 kB / 405.4 MB, free: 8.207 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.574e-05/0.2634, allocations: 120.4 kB / 405.5 MB, free: 8.109 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.2634, allocations: 30.8 kB / 405.6 MB, free: 8.078 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.2635, allocations: 98.39 kB / 405.7 MB, free: 7.988 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.2635, allocations: 58.53 kB / 405.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.2635, allocations: 34.84 kB / 405.8 MB, free: 7.934 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.2636, allocations: 320.9 kB / 406.1 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.2637, allocations: 33.06 kB / 406.1 MB, free: 7.621 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.2637, allocations: 74.23 kB / 406.2 MB, free: 7.586 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.0007054/0.2645, allocations: 417 kB / 406.6 MB, free: 7.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2645, allocations: 3.938 kB / 406.6 MB, free: 7.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002438/0.2647, allocations: 164.2 kB / 406.7 MB, free: 7.305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2647, allocations: 6.172 kB / 406.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2647, allocations: 0 / 406.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.2649, allocations: 28 kB / 406.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.265, allocations: 30.33 kB / 406.8 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008654/0.2659, allocations: 1.444 MB / 408.3 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.2659, allocations: 5.344 kB / 408.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2659, allocations: 8.562 kB / 408.3 MB, free: 5.891 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 9.011e-05/0.266, allocations: 135.7 kB / 408.4 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.2661, allocations: 14.03 kB / 408.4 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.2661, allocations: 15.88 kB / 408.4 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2661, allocations: 1.469 kB / 408.4 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2661, allocations: 1.953 kB / 408.4 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2661, allocations: 0.7969 kB / 408.4 MB, free: 5.734 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.0005725/0.2667, allocations: 0.6017 MB / 409 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2667, allocations: 1.281 kB / 409 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.2669, allocations: 28.62 kB / 409.1 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.067e-05/0.2669, allocations: 20.58 kB / 409.1 MB, free: 5.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.267, allocations: 10.98 kB / 409.1 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005489/0.2675, allocations: 1.27 MB / 410.4 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2675, allocations: 1.281 kB / 410.4 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.2678, allocations: 311 kB / 410.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.2679, allocations: 83.48 kB / 410.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.2679, allocations: 10.44 kB / 410.8 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.268, allocations: 1.312 kB / 410.8 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.268, allocations: 14.39 kB / 410.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.268, allocations: 5.219 kB / 410.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.878e-05/0.2681, allocations: 99.73 kB / 410.9 MB, free: 3.438 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2681, allocations: 0 / 410.9 MB, free: 3.438 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.2684, allocations: 39.28 kB / 410.9 MB, free: 3.426 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 7.824e-05/0.2685, allocations: 101.1 kB / 411 MB, free: 3.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.2689, allocations: 218.8 kB / 411.2 MB, free: 3.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2689, allocations: 0 / 411.2 MB, free: 3.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.269, allocations: 170.9 kB / 411.4 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.2694, allocations: 29.09 kB / 411.4 MB, free: 3.039 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.27, allocations: 460.9 kB / 411.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2702, allocations: 0.7092 MB / 412.6 MB, free: 1.965 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.2702, allocations: 14.94 kB / 412.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2702, allocations: 0 / 412.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of Templates: time 0.004167/0.2744, allocations: 1.958 MB / 414.6 MB, free: 1.809 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)