Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",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.00104/0.001039, 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.00112/0.00112, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.148/1.148, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.002293/0.002293, allocations: 0.5578 MB / 290.5 MB, free: 1.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 351 MB, free: 2.676 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07519/0.0764, allocations: 49.6 MB / 400.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.1232/0.1996, allocations: 1.705 MB / 402.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002599/0.1999, allocations: 89.98 kB / 402.4 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.2, allocations: 5.344 kB / 402.4 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.888e-05/0.2001, allocations: 12.86 kB / 402.4 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.2002, allocations: 27.75 kB / 402.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.2003, allocations: 21.31 kB / 402.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2004, allocations: 101.7 kB / 402.5 MB, free: 9.457 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2005, allocations: 30.64 kB / 402.6 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.2006, allocations: 35.66 kB / 402.6 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.2007, allocations: 47.02 kB / 402.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2007, allocations: 7.062 kB / 402.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.2007, allocations: 6.156 kB / 402.7 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.2008, allocations: 19.58 kB / 402.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.2008, allocations: 46.36 kB / 402.7 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.2009, allocations: 108.1 kB / 402.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.201, allocations: 0.8438 kB / 402.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.201, allocations: 1 kB / 402.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.201, allocations: 0 / 402.8 MB, free: 9.395 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.0003802/0.2014, allocations: 396.7 kB / 403.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2014, allocations: 9.156 kB / 403.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.2014, allocations: 43.28 kB / 403.3 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.2015, allocations: 18.62 kB / 403.3 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2016, allocations: 184.1 kB / 403.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2016, allocations: 8.438 kB / 403.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.2016, allocations: 14.22 kB / 403.5 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.2018, allocations: 93.36 kB / 403.6 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2018, allocations: 4.812 kB / 403.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2018, allocations: 5.344 kB / 403.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2018, allocations: 1.906 kB / 403.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.202, allocations: 66.31 kB / 403.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.2024, allocations: 385.8 kB / 404 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.2025, allocations: 105.7 kB / 404.1 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.2026, allocations: 39.72 kB / 404.2 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.2026, allocations: 1.062 kB / 404.2 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.13e-05/0.2026, allocations: 34.53 kB / 404.2 MB, free: 8.352 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2026, allocations: 0 / 404.2 MB, free: 8.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008322/0.2035, allocations: 0.6859 MB / 404.9 MB, free: 7.875 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.634e-05/0.2035, allocations: 52.91 kB / 405 MB, free: 7.812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.2036, allocations: 123 kB / 405.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.587e-06/0.2036, allocations: 28.77 kB / 405.1 MB, free: 7.684 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.2036, allocations: 102 kB / 405.2 MB, free: 7.594 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.2037, allocations: 57.22 kB / 405.3 MB, free: 7.555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.2037, allocations: 37.97 kB / 405.3 MB, free: 7.535 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.2037, allocations: 321.5 kB / 405.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.2038, allocations: 37.02 kB / 405.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.294e-05/0.2039, allocations: 61.3 kB / 405.7 MB, free: 7.195 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.2044, allocations: 371.6 kB / 406.1 MB, free: 6.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2044, allocations: 3.938 kB / 406.1 MB, free: 6.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000172/0.2046, allocations: 140.8 kB / 406.2 MB, free: 6.926 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2046, allocations: 4.875 kB / 406.2 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2046, allocations: 1.781 kB / 406.2 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.2046, allocations: 1.281 kB / 406.2 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2048, allocations: 38.25 kB / 406.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2048, allocations: 1.812 kB / 406.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.2048, allocations: 9.062 kB / 406.3 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2048, allocations: 11.72 kB / 406.3 MB, free: 6.918 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * 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 7.022e-05/0.2049, allocations: 132.9 kB / 406.4 MB, free: 6.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.205, allocations: 14.14 kB / 406.4 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.205, allocations: 14.02 kB / 406.4 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.205, allocations: 1.891 kB / 406.4 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.205, allocations: 1.062 kB / 406.4 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.205, allocations: 1.672 kB / 406.4 MB, free: 6.781 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.0004876/0.2055, allocations: 0.5934 MB / 407 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2055, allocations: 1.438 kB / 407 MB, free: 6.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.2056, allocations: 27.7 kB / 407.1 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.372e-05/0.2057, allocations: 28.22 kB / 407.1 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2058, allocations: 6.062 kB / 407.1 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000544/0.2063, allocations: 1.27 MB / 408.4 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2063, allocations: 1.344 kB / 408.4 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.2066, allocations: 304.5 kB / 408.7 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.2066, allocations: 91.92 kB / 408.8 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.2066, allocations: 6.469 kB / 408.8 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.2067, allocations: 4.281 kB / 408.8 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.2067, allocations: 9.609 kB / 408.8 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.2068, allocations: 10.44 kB / 408.8 MB, free: 4.734 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.2068, allocations: 91.19 kB / 408.9 MB, free: 4.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2068, allocations: 0 / 408.9 MB, free: 4.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.207, allocations: 31.69 kB / 408.9 MB, free: 4.66 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.0003846/0.2074, allocations: 0.8377 MB / 409.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.2076, allocations: 103.1 kB / 409.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2076, allocations: 0 / 409.8 MB, free: 3.875 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.2078, allocations: 167.5 kB / 410 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.2081, allocations: 29.25 kB / 410 MB, free: 3.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.2094, allocations: 1.814 MB / 411.8 MB, free: 2.164 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2095, allocations: 0.7043 MB / 412.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.2095, allocations: 14.97 kB / 412.6 MB, free: 1.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.2096, allocations: 29.97 kB / 412.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2096, allocations: 0 / 412.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.89/2.1, allocations: 2.747 MB / 415.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/2.1, allocations: 281.8 kB / 415.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/3.707, allocations: 0 / 415.6 MB, free: 0.7617 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)