Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",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.001269/0.001269, 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.001363/0.001363, allocations: 194.4 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.003525/0.003525, allocations: 0.5585 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.91 kB / 351.7 MB, free: 2.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1215, allocations: 49.59 MB / 401.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001959/0.1234, allocations: 0.5068 MB / 401.8 MB, free: 64 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001894/0.1237, allocations: 35.89 kB / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.1237, allocations: 0 / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.1237, allocations: 0 / 401.8 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.239e-05/0.1238, allocations: 7.875 kB / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.1239, allocations: 7.984 kB / 401.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.2298/0.3538, allocations: 17.56 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.3539, allocations: 1.719 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.3539, allocations: 10.3 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.354, allocations: 11.53 kB / 401.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.3541, allocations: 5.109 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.3541, allocations: 5.031 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.3541, allocations: 6.281 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.3541, allocations: 8.312 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.081e-05/0.3542, allocations: 18.44 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3542, allocations: 0 / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3543, allocations: 0.75 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3543, allocations: 0 / 401.9 MB, free: 10.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004487/0.3547, allocations: 335.5 kB / 402.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3548, allocations: 16.67 kB / 402.2 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.3548, allocations: 36.08 kB / 402.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.3549, allocations: 3.406 kB / 402.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.46e-05/0.3549, allocations: 166 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.355, allocations: 1.969 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.355, allocations: 7.953 kB / 402.4 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.3551, allocations: 43.47 kB / 402.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3551, allocations: 8.578 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3552, allocations: 1.125 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3552, allocations: 0 / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.867e-05/0.3552, allocations: 16.22 kB / 402.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.3555, allocations: 254.6 kB / 402.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.3556, allocations: 55.23 kB / 402.8 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.3556, allocations: 19.48 kB / 402.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3556, allocations: 2.031 kB / 402.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3556, allocations: 35.06 kB / 402.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3557, allocations: 0 / 402.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006204/0.3563, allocations: 0.4991 MB / 403.4 MB, free: 8.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.3563, allocations: 55.95 kB / 403.4 MB, free: 8.867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.685e-05/0.3564, allocations: 101.8 kB / 403.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.3564, allocations: 26.39 kB / 403.6 MB, free: 8.738 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.3564, allocations: 84.56 kB / 403.6 MB, free: 8.656 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3565, allocations: 25.47 kB / 403.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.3565, allocations: 24.27 kB / 403.7 MB, free: 8.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.3566, allocations: 329.8 kB / 404 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.3566, allocations: 14.34 kB / 404 MB, free: 8.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.3567, allocations: 37.09 kB / 404.1 MB, free: 8.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.357, allocations: 246.4 kB / 404.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.357, allocations: 0.5625 kB / 404.3 MB, free: 8.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001161/0.3571, allocations: 81.41 kB / 404.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3571, allocations: 8.906 kB / 404.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3571, allocations: 0.7188 kB / 404.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3571, allocations: 1.953 kB / 404.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3573, allocations: 19.83 kB / 404.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3573, allocations: 5.062 kB / 404.4 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.3573, allocations: 5.312 kB / 404.4 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.3573, allocations: 6.297 kB / 404.4 MB, free: 8.035 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.v1 = 0.0 $DER.x1 = 0.0. 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 (10): * Single equations (assignments): 10 * 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.0001514/0.3575, allocations: 122 kB / 404.5 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3575, allocations: 5.406 kB / 404.5 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.3575, allocations: 9.297 kB / 404.6 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3575, allocations: 2.188 kB / 404.6 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3576, allocations: 0 / 404.6 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3576, allocations: 8.438 kB / 404.6 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.3579, allocations: 375.5 kB / 404.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3579, allocations: 1.484 kB / 404.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.358, allocations: 8.781 kB / 404.9 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.3581, allocations: 23.08 kB / 405 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3581, allocations: 1.812 kB / 405 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009274/0.3591, allocations: 1.389 MB / 406.4 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3591, allocations: 5.25 kB / 406.4 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3594, allocations: 217 kB / 406.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3594, allocations: 91.92 kB / 406.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3594, allocations: 2.578 kB / 406.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.3595, allocations: 4.656 kB / 406.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.3595, allocations: 7.547 kB / 406.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3595, allocations: 2.688 kB / 406.7 MB, free: 5.902 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.274e-05/0.3596, allocations: 83.73 kB / 406.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3596, allocations: 3.938 kB / 406.8 MB, free: 5.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.3598, allocations: 11.22 kB / 406.8 MB, free: 5.82 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000391/0.3602, allocations: 0.7586 MB / 407.5 MB, free: 5.121 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3604, allocations: 42.72 kB / 407.6 MB, free: 5.117 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3604, allocations: 1.375 kB / 407.6 MB, free: 5.117 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.3607, allocations: 146.5 kB / 407.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3609, allocations: 8.891 kB / 407.7 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.3618, allocations: 1.344 MB / 409.1 MB, free: 3.773 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.362, allocations: 0.6919 MB / 409.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.323e-05/0.362, allocations: 3.938 kB / 409.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.3621, allocations: 15.42 kB / 409.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3621, allocations: 0 / 409.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.3905, allocations: 1.632 MB / 411.4 MB, free: 2.738 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.09, allocations: 12.08 kB / 411.4 MB, free: 2.73 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)