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.001379/0.001379, 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.001399/0.001399, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.003084/0.003084, allocations: 0.5738 MB / 291 MB, free: 1.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 351.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09581, allocations: 49.59 MB / 401.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.1611/0.257, allocations: 1.643 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002409/0.2573, allocations: 95 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.2574, allocations: 1.531 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.066e-05/0.2574, allocations: 14.52 kB / 403 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.723e-05/0.2575, allocations: 35.03 kB / 403 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.2576, allocations: 25.09 kB / 403.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2578, allocations: 106.5 kB / 403.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2579, allocations: 34.83 kB / 403.2 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.258, allocations: 35.06 kB / 403.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.2581, allocations: 46.03 kB / 403.3 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.2581, allocations: 9 kB / 403.3 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.2581, allocations: 8.875 kB / 403.3 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.2582, allocations: 22.03 kB / 403.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.2582, allocations: 52.48 kB / 403.4 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2584, allocations: 102.3 kB / 403.5 MB, free: 9.828 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2584, allocations: 8 kB / 403.5 MB, free: 9.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2584, allocations: 0.7812 kB / 403.5 MB, free: 9.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2584, allocations: 3.938 kB / 403.5 MB, free: 9.816 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.0004678/0.2589, allocations: 392.8 kB / 403.9 MB, free: 9.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.259, allocations: 9.156 kB / 403.9 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.259, allocations: 44.59 kB / 403.9 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2591, allocations: 14.25 kB / 403.9 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.2593, allocations: 194.3 kB / 404.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2593, allocations: 8.438 kB / 404.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.2593, allocations: 16.27 kB / 404.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2595, allocations: 90.73 kB / 404.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2595, allocations: 1.156 kB / 404.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.2596, allocations: 5.031 kB / 404.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2596, allocations: 6.938 kB / 404.2 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.2597, allocations: 55.5 kB / 404.3 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.2602, allocations: 389.5 kB / 404.7 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2604, allocations: 99.48 kB / 404.8 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.2605, allocations: 41.95 kB / 404.8 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2605, allocations: 4.531 kB / 404.8 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2605, allocations: 41.25 kB / 404.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2605, allocations: 0 / 404.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009868/0.2615, allocations: 0.6816 MB / 405.5 MB, free: 8.035 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.2615, allocations: 52.75 kB / 405.6 MB, free: 7.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.2616, allocations: 129 kB / 405.7 MB, free: 7.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2616, allocations: 30.92 kB / 405.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.2617, allocations: 99.12 kB / 405.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.2617, allocations: 54.98 kB / 405.9 MB, free: 7.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.2618, allocations: 38.14 kB / 405.9 MB, free: 7.656 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.2618, allocations: 320.6 kB / 406.3 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.2619, allocations: 33.14 kB / 406.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.262, allocations: 64.3 kB / 406.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2621, allocations: 107 kB / 406.5 MB, free: 7.219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2621, allocations: 0 / 406.5 MB, free: 7.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000195/0.2623, allocations: 146 kB / 406.6 MB, free: 7.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2623, allocations: 4.875 kB / 406.6 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2624, allocations: 1.781 kB / 406.6 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2624, allocations: 1.906 kB / 406.6 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.2626, allocations: 44.38 kB / 406.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2626, allocations: 1.219 kB / 406.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.2626, allocations: 6.188 kB / 406.7 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2627, allocations: 6.672 kB / 406.7 MB, free: 7.125 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 6.967e-05/0.2627, allocations: 123.2 kB / 406.8 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.2628, allocations: 13.41 kB / 406.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.2628, allocations: 13.91 kB / 406.8 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2628, allocations: 6.031 kB / 406.8 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2628, allocations: 0.9688 kB / 406.8 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2629, allocations: 6.5 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005694/0.2634, allocations: 496.2 kB / 407.3 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.2634, allocations: 1.219 kB / 407.3 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.2636, allocations: 31.41 kB / 407.3 MB, free: 6.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.2637, allocations: 24.44 kB / 407.4 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2637, allocations: 7.109 kB / 407.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000778/0.2645, allocations: 1.366 MB / 408.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2645, allocations: 5.188 kB / 408.7 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.2648, allocations: 302.3 kB / 409 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.2648, allocations: 84.95 kB / 409.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.2649, allocations: 4.094 kB / 409.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.2649, allocations: 5.5 kB / 409.1 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.265, allocations: 17.06 kB / 409.1 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.265, allocations: 12.12 kB / 409.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.265, allocations: 96.66 kB / 409.3 MB, free: 4.691 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.265, allocations: 1.156 kB / 409.3 MB, free: 4.691 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.2653, allocations: 27.41 kB / 409.3 MB, free: 4.688 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.0004463/0.2658, allocations: 0.8375 MB / 410.1 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.266, allocations: 97.94 kB / 410.2 MB, free: 3.895 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.266, allocations: 0 / 410.2 MB, free: 3.895 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.2662, allocations: 173.7 kB / 410.4 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.2666, allocations: 32.64 kB / 410.4 MB, free: 3.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.2681, allocations: 1.778 MB / 412.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2682, allocations: 0.7032 MB / 412.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.2683, allocations: 11.16 kB / 412.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.2683, allocations: 32.44 kB / 412.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2684, allocations: 0 / 412.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.2933, allocations: 2.839 MB / 415.8 MB, free: 1.074 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.143/9.436, allocations: 9.031 kB / 415.8 MB, free: 1.07 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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState_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_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)