Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 213.1 kB / 22.24 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.00298/0.00298, allocations: 0.5788 MB / 313 MB, free: 2.27 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.83 kB / 435.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08978, allocations: 53.53 MB / 488.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.00272/0.0925, allocations: 1.612 MB / 490.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002598/0.09276, allocations: 103.6 kB / 490.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.09282, allocations: 3.938 kB / 490.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.09286, allocations: 15.86 kB / 490.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.09296, allocations: 27.72 kB / 490.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.09308, allocations: 31.95 kB / 490.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.09321, allocations: 107.5 kB / 490.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.09332, allocations: 20 kB / 490.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.0934, allocations: 47.84 kB / 490.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.09349, allocations: 39.77 kB / 490.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.09351, allocations: 12 kB / 490.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.222e-05/0.09353, allocations: 8 kB / 490.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.09356, allocations: 15.94 kB / 490.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.09361, allocations: 39.86 kB / 490.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.09377, allocations: 111.8 kB / 490.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.09377, allocations: 8 kB / 490.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09377, allocations: 0 / 490.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.09378, allocations: 4 kB / 490.8 MB, free: 9.023 MB / 350.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.0005124/0.09429, allocations: 314.2 kB / 491.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.09433, allocations: 8.031 kB / 491.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.0944, allocations: 46.73 kB / 491.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.09443, allocations: 12.84 kB / 491.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.0946, allocations: 126.4 kB / 491.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.09462, allocations: 12.56 kB / 491.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.09465, allocations: 16.33 kB / 491.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.09484, allocations: 92.59 kB / 491.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.09486, allocations: 3.938 kB / 491.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.09487, allocations: 8 kB / 491.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.09488, allocations: 0 / 491.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.095, allocations: 59.95 kB / 491.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.09553, allocations: 335.8 kB / 491.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.09572, allocations: 98.48 kB / 491.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.09578, allocations: 36.84 kB / 492 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.0958, allocations: 4 kB / 492 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.09583, allocations: 30.56 kB / 492 MB, free: 7.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.09583, allocations: 0 / 492 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001111/0.09694, allocations: 0.5345 MB / 492.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.09699, allocations: 59.28 kB / 492.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.09711, allocations: 125.8 kB / 492.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.09714, allocations: 33.62 kB / 492.7 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.09722, allocations: 108.3 kB / 492.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.09727, allocations: 55.48 kB / 492.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.09733, allocations: 37.7 kB / 492.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.09749, allocations: 322.8 kB / 493.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.09755, allocations: 31.98 kB / 493.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.09764, allocations: 58.56 kB / 493.3 MB, free: 6.246 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.09823, allocations: 226.1 kB / 493.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.09823, allocations: 7.938 kB / 493.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002814/0.09851, allocations: 137.6 kB / 493.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.09853, allocations: 8 kB / 493.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.09853, allocations: 0 / 493.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.09855, allocations: 0 / 493.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.09873, allocations: 39.97 kB / 493.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.09873, allocations: 7.938 kB / 493.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.09878, allocations: 0 / 493.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.09879, allocations: 8 kB / 493.8 MB, free: 5.809 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.a = $START.mass2.a. 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 0.0001307/0.09892, allocations: 129.8 kB / 493.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.09895, allocations: 7.953 kB / 493.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.09901, allocations: 20.77 kB / 493.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.09901, allocations: 0 / 493.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.09901, allocations: 4 kB / 493.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.09902, allocations: 0 / 493.9 MB, free: 5.637 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.09968, allocations: 463.1 kB / 494.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.09968, allocations: 0 / 494.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.09981, allocations: 24.08 kB / 494.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.09993, allocations: 32.78 kB / 494.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.09994, allocations: 3.938 kB / 494.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.1011, allocations: 1.263 MB / 495.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1011, allocations: 3.984 kB / 495.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.1014, allocations: 306.9 kB / 496 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.1015, allocations: 7.984 kB / 496 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1015, allocations: 4 kB / 496 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.1015, allocations: 4 kB / 496 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1016, allocations: 19.91 kB / 496 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1016, allocations: 4 kB / 496 MB, free: 3.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.1016, allocations: 99.2 kB / 496.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1016, allocations: 0 / 496.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1019, allocations: 28 kB / 496.2 MB, free: 3.188 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.0007187/0.1026, allocations: 0.8484 MB / 497 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1029, allocations: 91.91 kB / 497.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1029, allocations: 0 / 497.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.1031, allocations: 158.6 kB / 497.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1034, allocations: 31.95 kB / 497.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.1053, allocations: 1.794 MB / 499.1 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.1054, allocations: 88.62 kB / 499.2 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.185e-05/0.1055, allocations: 9.141 kB / 499.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.1056, allocations: 35.38 kB / 499.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1056, allocations: 0 / 499.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.1357, allocations: 3.501 MB / 0.4909 GB, free: 12.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.92, allocations: 6.688 kB / 0.4909 GB, free: 12.66 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState_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_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.676555596292019] Failed to read output from testmodel.py, exit status != 0: 12.037873338442296 12.261460039 11.970260321 Calling exit ...