Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",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.001337/0.001337, 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.001373/0.001374, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.515/1.515, 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.002969/0.002969, allocations: 0.5623 MB / 291 MB, free: 1.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 351.7 MB, free: 2.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1153, allocations: 49.59 MB / 401.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001876/0.1172, allocations: 0.5068 MB / 401.8 MB, free: 52 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.1174, allocations: 23.91 kB / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.1174, allocations: 0 / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1175, allocations: 3.938 kB / 401.8 MB, free: 24 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.298e-05/0.1175, allocations: 0 / 401.8 MB, free: 24 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.1176, allocations: 7.984 kB / 401.8 MB, free: 16 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.1792/0.2968, allocations: 21.5 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.2969, allocations: 3.109 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.297, allocations: 12.91 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.297, allocations: 5.031 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.2971, allocations: 6.094 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.2971, allocations: 0 / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.2971, allocations: 6.016 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.2971, allocations: 11.8 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.522e-05/0.2972, allocations: 12.58 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2972, allocations: 1.906 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2972, allocations: 3.531 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.2972, allocations: 0 / 401.9 MB, free: 10.34 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.0003267/0.2976, allocations: 334.3 kB / 402.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2976, allocations: 13.45 kB / 402.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.2976, allocations: 35.64 kB / 402.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.2977, allocations: 2.844 kB / 402.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.676e-05/0.2978, allocations: 163.5 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2978, allocations: 3.719 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.2978, allocations: 6.984 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.2979, allocations: 46.03 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2979, allocations: 4.75 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-06/0.2979, allocations: 5.031 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.298, allocations: 0.6562 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.161e-05/0.298, allocations: 14.28 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.2983, allocations: 299.3 kB / 402.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.567e-05/0.2984, allocations: 43.77 kB / 402.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.2985, allocations: 13.7 kB / 402.8 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2985, allocations: 3.938 kB / 402.8 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.2985, allocations: 36.8 kB / 402.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2985, allocations: 0 / 402.9 MB, free: 9.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003528/0.2989, allocations: 158.5 kB / 403 MB, free: 9.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.2989, allocations: 53.14 kB / 403.1 MB, free: 9.145 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.267e-05/0.299, allocations: 96.31 kB / 403.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.299, allocations: 30.17 kB / 403.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.299, allocations: 89.55 kB / 403.3 MB, free: 8.926 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.299, allocations: 21.67 kB / 403.3 MB, free: 8.918 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.2991, allocations: 18.83 kB / 403.3 MB, free: 8.902 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.2991, allocations: 316.8 kB / 403.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.2991, allocations: 9.219 kB / 403.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.2992, allocations: 25.41 kB / 403.7 MB, free: 8.566 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.2992, allocations: 34.55 kB / 403.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2992, allocations: 1.656 kB / 403.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001268/0.2993, allocations: 75.73 kB / 403.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2994, allocations: 5.906 kB / 403.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2994, allocations: 0 / 403.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.2995, allocations: 19.12 kB / 403.8 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.2996, allocations: 7.703 kB / 403.8 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006473/0.3002, allocations: 1.349 MB / 405.2 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.3003, allocations: 8.031 kB / 405.2 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.3003, allocations: 1.938 kB / 405.2 MB, free: 7.141 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 5.175e-05/0.3003, allocations: 120.9 kB / 405.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.3004, allocations: 2.328 kB / 405.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.3004, allocations: 7.656 kB / 405.3 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3004, allocations: 9.234 kB / 405.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.3004, allocations: 3.062 kB / 405.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3004, allocations: 4.062 kB / 405.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3005, allocations: 163.8 kB / 405.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3005, allocations: 1.094 kB / 405.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.3006, allocations: 3.156 kB / 405.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-05/0.3006, allocations: 16.83 kB / 405.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.3006, allocations: 0 / 405.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005426/0.3012, allocations: 1.345 MB / 406.9 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3012, allocations: 5.391 kB / 406.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3014, allocations: 172.1 kB / 407 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.3014, allocations: 82.52 kB / 407.1 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.3014, allocations: 8.25 kB / 407.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.3015, allocations: 0.9062 kB / 407.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.3015, allocations: 3.5 kB / 407.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3015, allocations: 1.719 kB / 407.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.785e-05/0.3015, allocations: 82.53 kB / 407.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3015, allocations: 4.062 kB / 407.2 MB, free: 5.121 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.3018, allocations: 6.719 kB / 407.2 MB, free: 5.121 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.0002811/0.302, allocations: 0.7002 MB / 407.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.3023, allocations: 144 kB / 408.1 MB, free: 4.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3023, allocations: 0.9688 kB / 408.1 MB, free: 4.336 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3024, allocations: 135.4 kB / 408.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.3026, allocations: 8.172 kB / 408.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.3034, allocations: 1.284 MB / 409.5 MB, free: 3.02 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.187e-05/0.3035, allocations: 0.6832 MB / 410.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.326e-05/0.3035, allocations: 1.641 kB / 410.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.3036, allocations: 9.172 kB / 410.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3036, allocations: 3.938 kB / 410.2 MB, free: 2.312 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.3311, allocations: 1.528 MB / 411.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.501/9.832, allocations: 5.891 kB / 411.7 MB, free: 1.973 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)