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.07309/0.07309, allocations: 99.2 kB / 15.73 MB, free: 6.062 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.02812/0.02812, allocations: 189.9 kB / 16.67 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.002477/0.002477, allocations: 0.5584 MB / 291.1 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1503/0.1503, allocations: 58.23 kB / 401.9 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.2484, allocations: 49.59 MB / 451.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001428/0.2499, allocations: 0.5223 MB / 452 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.2501, allocations: 30.98 kB / 452.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.2501, allocations: 0 / 452.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.2501, allocations: 3.938 kB / 452.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.217e-05/0.2502, allocations: 0 / 452.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.2503, allocations: 7.984 kB / 452.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.2503, allocations: 19.92 kB / 452.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.2504, allocations: 0 / 452.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.2504, allocations: 15.92 kB / 452.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.2505, allocations: 11.92 kB / 452.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2505, allocations: 0 / 452.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.2505, allocations: 4 kB / 452.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.2505, allocations: 8 kB / 452.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.2506, allocations: 3.938 kB / 452.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.146e-05/0.2506, allocations: 15.91 kB / 452.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2506, allocations: 0 / 452.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2506, allocations: 0 / 452.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2507, allocations: 0 / 452.2 MB, free: 5.246 MB / 318.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.0003983/0.2511, allocations: 343.1 kB / 452.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2511, allocations: 15.89 kB / 452.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.2511, allocations: 34.75 kB / 452.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.2512, allocations: 4.891 kB / 452.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2513, allocations: 164.4 kB / 452.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2513, allocations: 384 / 452.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2513, allocations: 8.375 kB / 452.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.661e-05/0.2514, allocations: 46.19 kB / 452.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2514, allocations: 3.938 kB / 452.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.2515, allocations: 3.984 kB / 452.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2515, allocations: 0 / 452.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.2515, allocations: 12 kB / 452.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.2519, allocations: 298.6 kB / 453.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/0.252, allocations: 50.44 kB / 453.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.252, allocations: 8.859 kB / 453.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.252, allocations: 0 / 453.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.252, allocations: 34.56 kB / 453.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.105e-06/0.252, allocations: 8 kB / 453.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003452/0.2524, allocations: 159.8 kB / 453.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.2524, allocations: 51.41 kB / 453.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.2525, allocations: 101.9 kB / 453.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2525, allocations: 29.7 kB / 453.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.2526, allocations: 80.14 kB / 453.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2526, allocations: 19.8 kB / 453.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.2526, allocations: 25.7 kB / 453.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2528, allocations: 322.7 kB / 453.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.2528, allocations: 4 kB / 453.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.2528, allocations: 29.7 kB / 454 MB, free: 3.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.2529, allocations: 33.66 kB / 454 MB, free: 3.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2529, allocations: 0 / 454 MB, free: 3.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001276/0.253, allocations: 82.47 kB / 454.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.253, allocations: 4 kB / 454.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.253, allocations: 4 kB / 454.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.2532, allocations: 12.86 kB / 454.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/0.2532, allocations: 7.984 kB / 454.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008846/0.2541, allocations: 1.343 MB / 455.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.2541, allocations: 3.953 kB / 455.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.2541, allocations: 4.031 kB / 455.5 MB, free: 1.516 MB / 318.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 7.572e-05/0.2542, allocations: 117.8 kB / 455.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.2543, allocations: 4 kB / 455.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.2543, allocations: 7.5 kB / 455.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2543, allocations: 0 / 455.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2543, allocations: 0 / 455.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2543, allocations: 0 / 455.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.2544, allocations: 169.6 kB / 455.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2545, allocations: 0 / 455.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.2545, allocations: 4 kB / 455.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.395e-05/0.2546, allocations: 24.84 kB / 455.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2546, allocations: 0 / 455.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008214/0.2554, allocations: 1.355 MB / 457.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2554, allocations: 3.938 kB / 457.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.2556, allocations: 172.3 kB / 457.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.2556, allocations: 85.08 kB / 457.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.2556, allocations: 7.938 kB / 457.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.2557, allocations: 4.156 kB / 457.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.2557, allocations: 11.92 kB / 457.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2557, allocations: 0 / 457.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.687e-05/0.2558, allocations: 75.28 kB / 457.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2558, allocations: 4 kB / 457.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.256, allocations: 8 kB / 457.5 MB, free: 15.23 MB / 334.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.0004008/0.2564, allocations: 0.7093 MB / 458.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.2566, allocations: 146.5 kB / 458.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2567, allocations: 0 / 458.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2568, allocations: 122.7 kB / 458.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.257, allocations: 4 kB / 458.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.258, allocations: 1.281 MB / 459.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.2582, allocations: 0.6807 MB / 460.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.596e-05/0.2582, allocations: 0 / 460.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.2583, allocations: 15.44 kB / 460.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2583, allocations: 0 / 460.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4791/0.7374, allocations: 1.575 MB / 462 MB, free: 10.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.703/10.44, allocations: 11.27 kB / 462 MB, free: 10.75 MB / 334.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)