Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 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.001403/0.001403, allocations: 195.7 kB / 16.53 MB, free: 6.699 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.004162/0.004162, allocations: 0.5624 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.88 kB / 351.7 MB, free: 2.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09255, allocations: 49.6 MB / 401.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.1522/0.2448, allocations: 1.635 MB / 402.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002801/0.2451, allocations: 94.55 kB / 403 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.2451, allocations: 5.719 kB / 403 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.039e-05/0.2452, allocations: 13.58 kB / 403 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.643e-05/0.2453, allocations: 31.8 kB / 403 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.2455, allocations: 26.31 kB / 403.1 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.2456, allocations: 105 kB / 403.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2458, allocations: 28.98 kB / 403.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.2458, allocations: 40.25 kB / 403.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.2459, allocations: 46.83 kB / 403.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.2459, allocations: 9.188 kB / 403.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.246, allocations: 12.28 kB / 403.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.246, allocations: 22.03 kB / 403.3 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.2461, allocations: 51.56 kB / 403.4 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.2462, allocations: 105.3 kB / 403.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2462, allocations: 0 / 403.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2462, allocations: 0.6562 kB / 403.5 MB, free: 9.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2463, allocations: 0 / 403.5 MB, free: 9.789 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.0004143/0.2467, allocations: 397.6 kB / 403.9 MB, free: 9.398 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2467, allocations: 10.17 kB / 403.9 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.2468, allocations: 42.12 kB / 403.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.2468, allocations: 14.84 kB / 403.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2469, allocations: 193.3 kB / 404.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2469, allocations: 4.062 kB / 404.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.247, allocations: 14.81 kB / 404.1 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.2471, allocations: 93.31 kB / 404.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2472, allocations: 4 kB / 404.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2472, allocations: 1.344 kB / 404.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2472, allocations: 6.5 kB / 404.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2473, allocations: 55.2 kB / 404.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.2478, allocations: 393.7 kB / 404.7 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.2479, allocations: 106.8 kB / 404.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.248, allocations: 38.45 kB / 404.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.248, allocations: 1.531 kB / 404.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.248, allocations: 36.62 kB / 404.9 MB, free: 8.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.248, allocations: 0 / 404.9 MB, free: 8.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000917/0.249, allocations: 0.6851 MB / 405.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.249, allocations: 52.91 kB / 405.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.2491, allocations: 132.8 kB / 405.7 MB, free: 7.832 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.2491, allocations: 27.39 kB / 405.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.2492, allocations: 101.8 kB / 405.8 MB, free: 7.703 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.2492, allocations: 50.83 kB / 405.9 MB, free: 7.664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.2492, allocations: 34.16 kB / 405.9 MB, free: 7.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.2493, allocations: 325.1 kB / 406.2 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.2494, allocations: 37.08 kB / 406.3 MB, free: 7.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.2494, allocations: 61.73 kB / 406.3 MB, free: 7.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2496, allocations: 103 kB / 406.4 MB, free: 7.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2496, allocations: 1.281 kB / 406.4 MB, free: 7.195 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002539/0.2498, allocations: 166.4 kB / 406.6 MB, free: 7.102 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2499, allocations: 6.609 kB / 406.6 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2499, allocations: 0 / 406.6 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.25, allocations: 34.58 kB / 406.6 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2501, allocations: 24.41 kB / 406.7 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009036/0.251, allocations: 1.613 MB / 408.3 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.2511, allocations: 12.86 kB / 408.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2511, allocations: 3.438 kB / 408.3 MB, free: 5.469 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 (16): * Single equations (assignments): 15 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.363e-05/0.2512, allocations: 132.3 kB / 408.4 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.2513, allocations: 13.81 kB / 408.4 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.2513, allocations: 15.23 kB / 408.5 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2513, allocations: 2.156 kB / 408.5 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2513, allocations: 1.734 kB / 408.5 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2513, allocations: 0.75 kB / 408.5 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.2519, allocations: 0.5437 MB / 409 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2519, allocations: 1.188 kB / 409 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.252, allocations: 31 kB / 409 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.915e-05/0.2521, allocations: 22.14 kB / 409.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2521, allocations: 4.766 kB / 409.1 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006101/0.2528, allocations: 1.372 MB / 410.4 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2528, allocations: 0 / 410.4 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.2531, allocations: 299.6 kB / 410.7 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.2531, allocations: 85.53 kB / 410.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2532, allocations: 11.66 kB / 410.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.2532, allocations: 5.031 kB / 410.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.2533, allocations: 14.2 kB / 410.8 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.2533, allocations: 3.812 kB / 410.8 MB, free: 3.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.616e-05/0.2534, allocations: 97.75 kB / 410.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2534, allocations: 0 / 410.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.2537, allocations: 30.22 kB / 411 MB, free: 2.977 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.0004607/0.2542, allocations: 0.8459 MB / 411.8 MB, free: 2.207 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.2546, allocations: 229.1 kB / 412 MB, free: 2.051 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2546, allocations: 1.219 kB / 412 MB, free: 2.051 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.2547, allocations: 163.3 kB / 412.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.2552, allocations: 26.83 kB / 412.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.2569, allocations: 1.846 MB / 414.1 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2572, allocations: 0.7083 MB / 414.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.2573, allocations: 9.578 kB / 414.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.2573, allocations: 28.19 kB / 414.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2573, allocations: 0 / 414.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.2873, allocations: 2.912 MB / 417.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.78/10.07, allocations: 12.59 kB / 417.7 MB, free: 15.17 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)