Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",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.001258/0.001258, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001082/0.001082, allocations: 191.7 kB / 16.25 MB, free: 6.637 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.00327/0.00327, allocations: 0.57 MB / 290.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 351.2 MB, free: 2.566 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09518, allocations: 49.59 MB / 400.8 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.002123/0.09735, allocations: 0.5863 MB / 401.3 MB, free: 364 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001989/0.09758, allocations: 23.91 kB / 401.4 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.09762, allocations: 0 / 401.4 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.278e-05/0.09769, allocations: 0 / 401.4 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.09773, allocations: 0 / 401.4 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.09792, allocations: 11.92 kB / 401.4 MB, free: 328 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.09801, allocations: 23.98 kB / 401.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.504e-05/0.09809, allocations: 0 / 401.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.09813, allocations: 7.938 kB / 401.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.548e-05/0.09822, allocations: 15.92 kB / 401.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.09825, allocations: 3.984 kB / 401.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.09826, allocations: 0 / 401.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.09829, allocations: 4 kB / 401.4 MB, free: 272 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.09834, allocations: 15.92 kB / 401.4 MB, free: 256 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.039e-05/0.09841, allocations: 3.938 kB / 401.5 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.09843, allocations: 4 kB / 401.5 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.09843, allocations: 3.984 kB / 401.5 MB, free: 244 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.09846, allocations: 4 kB / 401.5 MB, free: 240 kB / 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.1779/0.2764, allocations: 332.2 kB / 401.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2765, allocations: 9.844 kB / 401.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.2765, allocations: 33.28 kB / 401.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.2765, allocations: 2.812 kB / 401.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/0.2766, allocations: 165.5 kB / 402 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2766, allocations: 5.219 kB / 402 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.2767, allocations: 5.25 kB / 402 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.2768, allocations: 48.31 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2768, allocations: 4.5 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2768, allocations: 0.8438 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.2768, allocations: 0.625 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.2769, allocations: 14 kB / 402.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.2771, allocations: 251.7 kB / 402.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.2772, allocations: 59.72 kB / 402.4 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.2773, allocations: 19.38 kB / 402.4 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2773, allocations: 1.688 kB / 402.4 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.2773, allocations: 34.81 kB / 402.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2773, allocations: 0 / 402.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006299/0.2779, allocations: 0.4988 MB / 402.9 MB, free: 9.668 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.278, allocations: 56.03 kB / 403 MB, free: 9.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.93e-05/0.278, allocations: 94.64 kB / 403.1 MB, free: 9.508 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.278, allocations: 29.52 kB / 403.1 MB, free: 9.477 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.2781, allocations: 86.59 kB / 403.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.2781, allocations: 31.14 kB / 403.2 MB, free: 9.379 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2781, allocations: 21.56 kB / 403.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.2782, allocations: 324.8 kB / 403.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.18e-05/0.2782, allocations: 20.14 kB / 403.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.2783, allocations: 37.98 kB / 403.6 MB, free: 9.031 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.2786, allocations: 248.8 kB / 403.9 MB, free: 8.824 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2786, allocations: 5.5 kB / 403.9 MB, free: 8.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001456/0.2787, allocations: 98.84 kB / 404 MB, free: 8.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2787, allocations: 5.062 kB / 404 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2787, allocations: 1 kB / 404 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001071/0.2789, allocations: 22.38 kB / 404 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.2789, allocations: 10.73 kB / 404 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006971/0.2796, allocations: 1.382 MB / 405.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.2797, allocations: 4.672 kB / 405.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.2797, allocations: 2.062 kB / 405.4 MB, free: 7.406 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: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.2798, allocations: 128.1 kB / 405.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.2799, allocations: 2.062 kB / 405.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.2799, allocations: 10.27 kB / 405.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2799, allocations: 1 kB / 405.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2799, allocations: 1.266 kB / 405.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2799, allocations: 2.266 kB / 405.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.2803, allocations: 374.3 kB / 405.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2803, allocations: 1 kB / 405.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.2803, allocations: 14.22 kB / 405.9 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-05/0.2804, allocations: 26.22 kB / 405.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2804, allocations: 4.969 kB / 405.9 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005812/0.281, allocations: 1.384 MB / 407.3 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.281, allocations: 1.672 kB / 407.3 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2812, allocations: 230.8 kB / 407.6 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.2812, allocations: 84.03 kB / 407.6 MB, free: 5.285 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2812, allocations: 11.98 kB / 407.6 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.2813, allocations: 2.516 kB / 407.6 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.2813, allocations: 11.44 kB / 407.7 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.2813, allocations: 5.312 kB / 407.7 MB, free: 5.277 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.941e-05/0.2814, allocations: 82.61 kB / 407.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2814, allocations: 0.6875 kB / 407.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.2816, allocations: 12.66 kB / 407.8 MB, free: 5.199 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003228/0.2819, allocations: 0.7568 MB / 408.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.2822, allocations: 165.7 kB / 408.7 MB, free: 4.367 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2822, allocations: 0 / 408.7 MB, free: 4.367 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.2823, allocations: 153 kB / 408.8 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.2826, allocations: 3.5 kB / 408.8 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009118/0.2835, allocations: 1.398 MB / 410.2 MB, free: 2.91 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2836, allocations: 0.6853 MB / 410.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.2836, allocations: 3.719 kB / 410.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.2837, allocations: 14.19 kB / 410.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2837, allocations: 0 / 410.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.2992, allocations: 1.66 MB / 412.6 MB, free: 1.984 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2994, allocations: 294.4 kB / 412.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.059, allocations: 0 / 412.9 MB, free: 1.602 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)