Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.0009508/0.0009508, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006839/0.006839, allocations: 171.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.875/2.875, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.004519/0.004519, allocations: 0.5469 MB / 292 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004863, allocations: 11.98 kB / 353.4 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4073, allocations: 50.56 MB / 404 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.000713/0.4081, allocations: 247.6 kB / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001608/0.4083, allocations: 24.19 kB / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.4083, allocations: 1.438 kB / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.4083, allocations: 0 / 404.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.349e-05/0.4084, allocations: 7.438 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.4085, allocations: 7.047 kB / 404.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.887e-05/0.4086, allocations: 15.52 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.4086, allocations: 2.375 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.4087, allocations: 9.625 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.4087, allocations: 14.27 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.4088, allocations: 0.6562 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-06/0.4088, allocations: 1.406 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.4088, allocations: 6.641 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.4088, allocations: 36.02 kB / 404.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.397e-05/0.4089, allocations: 15.95 kB / 404.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4089, allocations: 0 / 404.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4089, allocations: 0 / 404.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.4089, allocations: 4.969 kB / 404.4 MB, free: 10.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003071/0.4092, allocations: 326.2 kB / 404.7 MB, free: 9.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4093, allocations: 9.031 kB / 404.7 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.4093, allocations: 35.36 kB / 404.7 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.4094, allocations: 7.781 kB / 404.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.793e-05/0.4095, allocations: 163 kB / 404.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4095, allocations: 2.188 kB / 404.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.4095, allocations: 7.594 kB / 404.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4097, allocations: 45.38 kB / 404.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4097, allocations: 5.375 kB / 404.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4097, allocations: 3.438 kB / 404.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4097, allocations: 1.25 kB / 404.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.4098, allocations: 14.47 kB / 405 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.4102, allocations: 303.4 kB / 405.3 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/0.4103, allocations: 40.97 kB / 405.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.4103, allocations: 18.52 kB / 405.3 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.4103, allocations: 0.8125 kB / 405.3 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.4104, allocations: 32.33 kB / 405.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4104, allocations: 0 / 405.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003781/0.4108, allocations: 161.9 kB / 405.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.4108, allocations: 53.17 kB / 405.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.4109, allocations: 102.6 kB / 405.7 MB, free: 8.691 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.4109, allocations: 30.77 kB / 405.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.4109, allocations: 81.45 kB / 405.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.4109, allocations: 18.88 kB / 405.8 MB, free: 8.562 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.411, allocations: 16.23 kB / 405.8 MB, free: 8.547 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.411, allocations: 316.9 kB / 406.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.411, allocations: 9.438 kB / 406.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.4111, allocations: 25.03 kB / 406.1 MB, free: 8.211 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.997e-05/0.4111, allocations: 36.72 kB / 406.2 MB, free: 8.191 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4111, allocations: 0 / 406.2 MB, free: 8.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.679e-05/0.4112, allocations: 66.17 kB / 406.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4113, allocations: 6.125 kB / 406.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4113, allocations: 1.109 kB / 406.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4113, allocations: 1.156 kB / 406.3 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.4114, allocations: 15.91 kB / 406.3 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4114, allocations: 4.484 kB / 406.3 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.4114, allocations: 6.125 kB / 406.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4114, allocations: 2.406 kB / 406.3 MB, free: 8.145 MB / 286.1 MB 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 (6): * Single equations (assignments): 6 * 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 5.777e-05/0.4115, allocations: 120 kB / 406.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.4115, allocations: 1.531 kB / 406.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.4116, allocations: 7.25 kB / 406.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4116, allocations: 1.406 kB / 406.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4116, allocations: 0.7969 kB / 406.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4116, allocations: 0 / 406.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.4117, allocations: 168.7 kB / 406.6 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4117, allocations: 9.922 kB / 406.6 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.4118, allocations: 2.734 kB / 406.6 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.4119, allocations: 19.11 kB / 406.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4119, allocations: 0.5 kB / 406.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006644/0.4126, allocations: 1.251 MB / 407.9 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4126, allocations: 0.7812 kB / 407.9 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.4128, allocations: 168.5 kB / 408 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.4128, allocations: 80.42 kB / 408.1 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.4128, allocations: 15.47 kB / 408.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.4129, allocations: 1.062 kB / 408.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.4129, allocations: 3.516 kB / 408.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.4129, allocations: 5.922 kB / 408.1 MB, free: 6.285 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.4129, allocations: 87.3 kB / 408.2 MB, free: 6.203 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4129, allocations: 0 / 408.2 MB, free: 6.203 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.4132, allocations: 8.594 kB / 408.2 MB, free: 6.203 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0003201/0.4135, allocations: 0.7016 MB / 408.9 MB, free: 5.527 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.4136, allocations: 29.19 kB / 408.9 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4136, allocations: 0 / 408.9 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.4138, allocations: 127.6 kB / 409.1 MB, free: 5.414 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.414, allocations: 2.875 kB / 409.1 MB, free: 5.414 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.4148, allocations: 1.267 MB / 410.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.4149, allocations: 0.6817 MB / 411 MB, free: 3.523 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.695e-05/0.4149, allocations: 1.719 kB / 411 MB, free: 3.523 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.415, allocations: 12.83 kB / 411 MB, free: 3.516 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.415, allocations: 0 / 411 MB, free: 3.516 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.4328, allocations: 1.265 MB / 412.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.4331, allocations: 298.5 kB / 412.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/2.823, allocations: 0 / 412.6 MB, free: 2.988 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)