Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",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.001109/0.001109, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.0106/0.0106, allocations: 169.8 kB / 16.27 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.041/2.041, allocations: 223.3 MB / 240.3 MB, free: 5.262 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.003562/0.003563, allocations: 0.5469 MB / 292 MB, free: 1.508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003206, allocations: 8 kB / 353.4 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3111, allocations: 50.58 MB / 404 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.001963/0.3131, allocations: 1.36 MB / 405.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002607/0.3134, allocations: 95.48 kB / 405.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.3134, allocations: 5.219 kB / 405.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.3135, allocations: 11.14 kB / 405.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.641e-05/0.3136, allocations: 26.53 kB / 405.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.3137, allocations: 18.8 kB / 405.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3139, allocations: 106.4 kB / 405.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.314, allocations: 30.06 kB / 405.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.291e-05/0.3141, allocations: 35.14 kB / 405.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.3142, allocations: 40.88 kB / 405.7 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3142, allocations: 5.859 kB / 405.7 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.097e-05/0.3143, allocations: 4.844 kB / 405.7 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.3143, allocations: 17.72 kB / 405.7 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/0.3144, allocations: 68.94 kB / 405.8 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.3145, allocations: 103.1 kB / 405.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3145, allocations: 4 kB / 405.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3146, allocations: 0 / 405.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3146, allocations: 0.75 kB / 405.9 MB, free: 9.859 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.000418/0.315, allocations: 381.6 kB / 406.3 MB, free: 9.484 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.315, allocations: 9.094 kB / 406.3 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.3151, allocations: 42.14 kB / 406.3 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3151, allocations: 15.31 kB / 406.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.3153, allocations: 193.2 kB / 406.5 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3153, allocations: 7.188 kB / 406.5 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.3153, allocations: 11.14 kB / 406.5 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.3155, allocations: 91.83 kB / 406.6 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3156, allocations: 1.156 kB / 406.6 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3156, allocations: 8 kB / 406.6 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3156, allocations: 2.438 kB / 406.6 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3157, allocations: 65.98 kB / 406.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.3162, allocations: 394.5 kB / 407.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3164, allocations: 99.7 kB / 407.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.3165, allocations: 37.5 kB / 407.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3165, allocations: 2.812 kB / 407.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.3165, allocations: 38.56 kB / 407.3 MB, free: 8.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.3165, allocations: 0 / 407.3 MB, free: 8.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009691/0.3175, allocations: 0.68 MB / 407.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.3175, allocations: 54.25 kB / 408 MB, free: 8.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.3176, allocations: 123.6 kB / 408.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.3176, allocations: 30.83 kB / 408.1 MB, free: 7.945 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.3177, allocations: 102.3 kB / 408.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.3177, allocations: 56.7 kB / 408.3 MB, free: 7.801 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.3178, allocations: 19.42 kB / 408.3 MB, free: 7.781 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.3178, allocations: 320.8 kB / 408.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.3179, allocations: 38.75 kB / 408.7 MB, free: 7.449 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.318, allocations: 74.61 kB / 408.7 MB, free: 7.398 MB / 286.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.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.3186, allocations: 414.5 kB / 409.1 MB, free: 7.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3187, allocations: 0 / 409.1 MB, free: 7.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002396/0.3189, allocations: 169.8 kB / 409.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3189, allocations: 5.406 kB / 409.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3189, allocations: 2.031 kB / 409.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.3191, allocations: 26.95 kB / 409.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.3192, allocations: 26.78 kB / 409.4 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008498/0.32, allocations: 1.446 MB / 410.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.3201, allocations: 6.062 kB / 410.8 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3201, allocations: 12.5 kB / 410.8 MB, free: 5.547 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 sytem: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. 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.391e-05/0.3202, allocations: 128.4 kB / 411 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.3202, allocations: 17.5 kB / 411 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.3203, allocations: 15.59 kB / 411 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3203, allocations: 1.031 kB / 411 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3203, allocations: 1.25 kB / 411 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3203, allocations: 1.172 kB / 411 MB, free: 5.395 MB / 286.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.0005482/0.3208, allocations: 0.6072 MB / 411.6 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3208, allocations: 5.312 kB / 411.6 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.321, allocations: 29.55 kB / 411.6 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.736e-05/0.321, allocations: 20.3 kB / 411.7 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3211, allocations: 9.312 kB / 411.7 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005551/0.3216, allocations: 1.268 MB / 412.9 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3216, allocations: 7.922 kB / 412.9 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.3219, allocations: 303.2 kB / 413.2 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.322, allocations: 93.58 kB / 413.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.322, allocations: 7.625 kB / 413.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.3221, allocations: 1.281 kB / 413.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.3221, allocations: 13.58 kB / 413.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3221, allocations: 4.516 kB / 413.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.3222, allocations: 93.88 kB / 413.5 MB, free: 3.086 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 3.938 kB / 413.5 MB, free: 3.082 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.3225, allocations: 40.06 kB / 413.5 MB, free: 3.07 MB / 286.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.0004537/0.3229, allocations: 0.822 MB / 414.3 MB, free: 2.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3233, allocations: 228.2 kB / 414.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3233, allocations: 0 / 414.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3235, allocations: 167.5 kB / 414.7 MB, free: 2.035 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.3238, allocations: 21.27 kB / 414.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3255, allocations: 1.932 MB / 416.7 MB, free: 392 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3257, allocations: 0.7096 MB / 417.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.906e-05/0.3257, allocations: 9.562 kB / 417.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.3258, allocations: 28.84 kB / 417.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3258, allocations: 4 kB / 417.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2132/0.539, allocations: 2.723 MB / 420.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005851/0.5397, allocations: 296.9 kB / 420.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.575, allocations: 0 / 420.4 MB, free: 15.07 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)