Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.001328/0.001328, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001191/0.001191, allocations: 194.5 kB / 16.25 MB, free: 6.625 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.309/1.309, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.002554/0.002554, allocations: 0.5658 MB / 290.6 MB, free: 1.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 55.91 kB / 351.2 MB, free: 2.562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08974, allocations: 49.6 MB / 400.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001541/0.09132, allocations: 0.5833 MB / 401.3 MB, free: 348 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001444/0.09148, allocations: 23.91 kB / 401.4 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.09151, allocations: 0 / 401.4 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.09153, allocations: 0 / 401.4 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.09158, allocations: 0 / 401.4 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.0917, allocations: 11.98 kB / 401.4 MB, free: 312 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.09175, allocations: 12 kB / 401.4 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.0918, allocations: 11.92 kB / 401.4 MB, free: 288 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.09183, allocations: 7.938 kB / 401.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.09189, allocations: 19.84 kB / 401.4 MB, free: 260 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.09191, allocations: 0 / 401.4 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.09192, allocations: 4 kB / 401.4 MB, free: 256 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.09194, allocations: 0 / 401.4 MB, free: 256 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.09197, allocations: 11.94 kB / 401.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.739e-05/0.09202, allocations: 11.92 kB / 401.4 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.09203, allocations: 0 / 401.4 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09203, allocations: 4 kB / 401.5 MB, free: 228 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.09204, allocations: 0 / 401.5 MB, free: 228 kB / 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.1649/0.2569, allocations: 332.2 kB / 401.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.257, allocations: 14.52 kB / 401.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.2571, allocations: 35.33 kB / 401.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.2571, allocations: 2.969 kB / 401.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.988e-05/0.2572, allocations: 170.7 kB / 402 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2572, allocations: 2.266 kB / 402 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.2572, allocations: 7.156 kB / 402 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2573, allocations: 47.36 kB / 402 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2574, allocations: 3.938 kB / 402.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2574, allocations: 4.5 kB / 402.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2574, allocations: 0.5 kB / 402.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.2574, allocations: 10.88 kB / 402.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.2578, allocations: 297.3 kB / 402.4 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.319e-05/0.2579, allocations: 42.94 kB / 402.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.2579, allocations: 14.14 kB / 402.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.258, allocations: 0.5625 kB / 402.4 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.258, allocations: 35.8 kB / 402.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.258, allocations: 0 / 402.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003768/0.2584, allocations: 159.7 kB / 402.6 MB, free: 9.906 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.2584, allocations: 52.66 kB / 402.7 MB, free: 9.844 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.2585, allocations: 102.6 kB / 402.8 MB, free: 9.746 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.2585, allocations: 30.72 kB / 402.8 MB, free: 9.715 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.2585, allocations: 92.91 kB / 402.9 MB, free: 9.625 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.2585, allocations: 11.53 kB / 402.9 MB, free: 9.617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.2586, allocations: 25.62 kB / 402.9 MB, free: 9.602 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.2586, allocations: 321.7 kB / 403.2 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.2587, allocations: 8.109 kB / 403.2 MB, free: 9.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.2587, allocations: 21.52 kB / 403.3 MB, free: 9.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.2587, allocations: 34.69 kB / 403.3 MB, free: 9.254 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2587, allocations: 0 / 403.3 MB, free: 9.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.671e-05/0.2588, allocations: 63.61 kB / 403.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2589, allocations: 9.281 kB / 403.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2589, allocations: 0.5625 kB / 403.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2589, allocations: 3.875 kB / 403.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.259, allocations: 13.06 kB / 403.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.259, allocations: 0.5312 kB / 403.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.259, allocations: 1.578 kB / 403.4 MB, free: 9.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.259, allocations: 1.938 kB / 403.4 MB, free: 9.223 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 (6): * Single equations (assignments): 6 * 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 5.36e-05/0.2591, allocations: 121 kB / 403.5 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.2591, allocations: 5.344 kB / 403.5 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.2592, allocations: 6.188 kB / 403.5 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2592, allocations: 0.5312 kB / 403.5 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.2592, allocations: 5.766 kB / 403.5 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2592, allocations: 3.938 kB / 403.5 MB, free: 9.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.2593, allocations: 163.1 kB / 403.7 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2593, allocations: 5.453 kB / 403.7 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.2594, allocations: 2.797 kB / 403.7 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.2595, allocations: 15.56 kB / 403.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2595, allocations: 1.766 kB / 403.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006851/0.2602, allocations: 1.351 MB / 405.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2602, allocations: 5.281 kB / 405.1 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2604, allocations: 177.6 kB / 405.2 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.2604, allocations: 79.36 kB / 405.3 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-06/0.2604, allocations: 1.391 kB / 405.3 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.2605, allocations: 0.7812 kB / 405.3 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.2605, allocations: 11.66 kB / 405.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.2605, allocations: 2.219 kB / 405.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.06e-05/0.2605, allocations: 83.27 kB / 405.4 MB, free: 7.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2605, allocations: 0 / 405.4 MB, free: 7.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.2608, allocations: 5.562 kB / 405.4 MB, free: 7.199 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.0003031/0.2611, allocations: 0.7046 MB / 406.1 MB, free: 6.527 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.067e-05/0.2612, allocations: 33.67 kB / 406.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2612, allocations: 0 / 406.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.2613, allocations: 125.6 kB / 406.3 MB, free: 6.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.2615, allocations: 5.031 kB / 406.3 MB, free: 6.406 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/0.2623, allocations: 1.255 MB / 407.5 MB, free: 5.223 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.2624, allocations: 0.6846 MB / 408.2 MB, free: 4.523 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.718e-05/0.2624, allocations: 3.359 kB / 408.2 MB, free: 4.523 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.2625, allocations: 12.56 kB / 408.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2625, allocations: 0 / 408.2 MB, free: 4.516 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.2755, allocations: 1.379 MB / 409.6 MB, free: 4.301 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.2757, allocations: 296.1 kB / 409.9 MB, free: 3.926 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.048, allocations: 0 / 409.9 MB, free: 3.926 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)