Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",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.001613/0.001613, allocations: 108 kB / 15.6 MB, free: 132 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.001867/0.001867, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.692/1.692, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.004964/0.004964, allocations: 0.5663 MB / 291 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.89 kB / 351.7 MB, free: 2.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1581, allocations: 49.59 MB / 401.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.3433/0.5015, allocations: 1.642 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000443/0.5021, allocations: 95.16 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.5022, allocations: 1.344 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.416e-05/0.5023, allocations: 14.72 kB / 403 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.5025, allocations: 27.92 kB / 403 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.5027, allocations: 27.97 kB / 403.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.5029, allocations: 106.6 kB / 403.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.5031, allocations: 31.86 kB / 403.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.5032, allocations: 37.66 kB / 403.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.5034, allocations: 49.19 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.5034, allocations: 8.875 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.127e-05/0.5035, allocations: 8.375 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.5035, allocations: 18.92 kB / 403.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.5036, allocations: 49.78 kB / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.5039, allocations: 107.8 kB / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.5039, allocations: 4 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.5039, allocations: 0.875 kB / 403.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.006e-06/0.5039, allocations: 0 / 403.5 MB, free: 9.809 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.0007166/0.5046, allocations: 401.5 kB / 403.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/0.5047, allocations: 9.219 kB / 403.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.5048, allocations: 40.09 kB / 403.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.5048, allocations: 15.16 kB / 403.9 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.5051, allocations: 192.5 kB / 404.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5051, allocations: 4.062 kB / 404.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.5051, allocations: 15.78 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.5054, allocations: 94.73 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.5054, allocations: 0.75 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5054, allocations: 1.031 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.5055, allocations: 2.469 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.5056, allocations: 62.78 kB / 404.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.5063, allocations: 393.3 kB / 404.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5065, allocations: 103.4 kB / 404.8 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.5065, allocations: 36.66 kB / 404.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.5066, allocations: 6.609 kB / 404.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.5066, allocations: 36.06 kB / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.021e-06/0.5066, allocations: 0 / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001189/0.5078, allocations: 0.6815 MB / 405.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5078, allocations: 53.44 kB / 405.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.508, allocations: 132.5 kB / 405.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.508, allocations: 25.7 kB / 405.7 MB, free: 7.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.5081, allocations: 103.7 kB / 405.8 MB, free: 7.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.5081, allocations: 57.95 kB / 405.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.5082, allocations: 34.33 kB / 405.9 MB, free: 7.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.5083, allocations: 321.8 kB / 406.2 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.5084, allocations: 36.11 kB / 406.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.5085, allocations: 59.69 kB / 406.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.5087, allocations: 107.3 kB / 406.4 MB, free: 7.211 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5087, allocations: 1.094 kB / 406.4 MB, free: 7.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002467/0.5089, allocations: 147.2 kB / 406.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.509, allocations: 6.406 kB / 406.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.509, allocations: 0 / 406.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.509, allocations: 1.625 kB / 406.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.5092, allocations: 38.69 kB / 406.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5092, allocations: 7.266 kB / 406.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.5093, allocations: 5.375 kB / 406.7 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5093, allocations: 7.5 kB / 406.7 MB, free: 7.113 MB / 286.1 MB 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 9.74e-05/0.5094, allocations: 122.9 kB / 406.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.5094, allocations: 12.47 kB / 406.8 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.5095, allocations: 15.06 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5095, allocations: 1.219 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.5095, allocations: 1.188 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5095, allocations: 7.938 kB / 406.8 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.5101, allocations: 0.4898 MB / 407.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5102, allocations: 3.969 kB / 407.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.5103, allocations: 25.23 kB / 407.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.5104, allocations: 24.23 kB / 407.4 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.5105, allocations: 2.438 kB / 407.4 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009333/0.5114, allocations: 1.371 MB / 408.7 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5114, allocations: 5.188 kB / 408.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.5118, allocations: 303.2 kB / 409 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.5118, allocations: 86.27 kB / 409.1 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.5118, allocations: 8.875 kB / 409.1 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.5119, allocations: 0 / 409.1 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.512, allocations: 23.06 kB / 409.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.512, allocations: 7.875 kB / 409.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.512, allocations: 97.81 kB / 409.3 MB, free: 4.684 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.512, allocations: 0 / 409.3 MB, free: 4.684 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.5123, allocations: 32.94 kB / 409.3 MB, free: 4.676 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0005636/0.5128, allocations: 0.8269 MB / 410.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.5131, allocations: 104.5 kB / 410.2 MB, free: 3.883 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5131, allocations: 0 / 410.2 MB, free: 3.883 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.5134, allocations: 174.5 kB / 410.4 MB, free: 3.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.514, allocations: 29.33 kB / 410.4 MB, free: 3.734 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.5162, allocations: 1.776 MB / 412.2 MB, free: 2.207 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.5165, allocations: 0.7078 MB / 412.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.347e-05/0.5166, allocations: 14.86 kB / 412.9 MB, free: 1.504 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.5166, allocations: 28.95 kB / 412.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5167, allocations: 0 / 412.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.5511, allocations: 2.839 MB / 415.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13, allocations: 9.906 kB / 415.8 MB, free: 1.059 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)