Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",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.0009654/0.0009657, allocations: 97.64 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.009051/0.009052, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.936/2.936, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.0111/0.0111, allocations: 0.5508 MB / 292 MB, free: 1.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 12.19 kB / 353.4 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3508, allocations: 50.56 MB / 404 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002525/0.3534, allocations: 1.352 MB / 405.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002935/0.3537, allocations: 97.73 kB / 405.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.3538, allocations: 5.625 kB / 405.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/0.3538, allocations: 10.3 kB / 405.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.354, allocations: 26.47 kB / 405.5 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.3542, allocations: 18.22 kB / 405.5 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3544, allocations: 101.9 kB / 405.6 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3546, allocations: 33.34 kB / 405.6 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.3547, allocations: 36.92 kB / 405.6 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3548, allocations: 41.52 kB / 405.7 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.3549, allocations: 8.281 kB / 405.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.718e-05/0.3549, allocations: 5.062 kB / 405.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.355, allocations: 16.23 kB / 405.7 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.3551, allocations: 69.22 kB / 405.8 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.3553, allocations: 105 kB / 405.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3553, allocations: 0 / 405.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.3553, allocations: 1.062 kB / 405.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3553, allocations: 0 / 405.9 MB, free: 9.875 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.000578/0.3559, allocations: 385.5 kB / 406.3 MB, free: 9.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.356, allocations: 9.781 kB / 406.3 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.356, allocations: 42.55 kB / 406.3 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.356, allocations: 9.656 kB / 406.3 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3562, allocations: 191.2 kB / 406.5 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3562, allocations: 6.688 kB / 406.5 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.3563, allocations: 11.91 kB / 406.5 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.3565, allocations: 90.8 kB / 406.6 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3565, allocations: 2.25 kB / 406.6 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3566, allocations: 9.578 kB / 406.6 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.3566, allocations: 2.406 kB / 406.6 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3567, allocations: 61.83 kB / 406.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.3573, allocations: 391.2 kB / 407.1 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.3575, allocations: 104.8 kB / 407.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.3576, allocations: 38.33 kB / 407.2 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3576, allocations: 2.156 kB / 407.2 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3576, allocations: 36.62 kB / 407.2 MB, free: 8.746 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3576, allocations: 0 / 407.2 MB, free: 8.746 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001116/0.3587, allocations: 0.6865 MB / 407.9 MB, free: 8.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3588, allocations: 53.62 kB / 408 MB, free: 8.105 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3589, allocations: 124.1 kB / 408.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3589, allocations: 29.7 kB / 408.1 MB, free: 7.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.359, allocations: 103.4 kB / 408.2 MB, free: 7.859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.359, allocations: 60.75 kB / 408.3 MB, free: 7.816 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.3591, allocations: 18.16 kB / 408.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.3591, allocations: 323.4 kB / 408.6 MB, free: 7.477 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3592, allocations: 38.53 kB / 408.7 MB, free: 7.461 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.788e-05/0.3593, allocations: 74.84 kB / 408.7 MB, free: 7.41 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.0007778/0.3601, allocations: 417.8 kB / 409.1 MB, free: 7.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3601, allocations: 0 / 409.1 MB, free: 7.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003399/0.3604, allocations: 163.3 kB / 409.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3605, allocations: 5.562 kB / 409.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3605, allocations: 4.922 kB / 409.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000136/0.3606, allocations: 28.67 kB / 409.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.3607, allocations: 26.09 kB / 409.4 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.3618, allocations: 1.445 MB / 410.8 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.3619, allocations: 4.938 kB / 410.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3619, allocations: 11.78 kB / 410.8 MB, free: 5.555 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 9.58e-05/0.362, allocations: 120.7 kB / 411 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3621, allocations: 20.78 kB / 411 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.3621, allocations: 16.91 kB / 411 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3621, allocations: 3.469 kB / 411 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3621, allocations: 4 kB / 411 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3621, allocations: 2.578 kB / 411 MB, free: 5.398 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.0005964/0.3627, allocations: 0.5996 MB / 411.6 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3627, allocations: 1.219 kB / 411.6 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3629, allocations: 28.45 kB / 411.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-05/0.3629, allocations: 17.88 kB / 411.6 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.363, allocations: 9.844 kB / 411.7 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005827/0.3636, allocations: 1.267 MB / 412.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.3636, allocations: 2.312 kB / 412.9 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3639, allocations: 305.2 kB / 413.2 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.3639, allocations: 89.17 kB / 413.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3639, allocations: 8.312 kB / 413.3 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.364, allocations: 0 / 413.3 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.3641, allocations: 15.16 kB / 413.3 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.3641, allocations: 4.516 kB / 413.3 MB, free: 3.188 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.3641, allocations: 97.05 kB / 413.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3641, allocations: 3.938 kB / 413.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.3645, allocations: 38.66 kB / 413.5 MB, free: 3.09 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.0005115/0.365, allocations: 0.8262 MB / 414.3 MB, free: 2.332 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.3654, allocations: 228 kB / 414.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3654, allocations: 0 / 414.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3655, allocations: 170.5 kB / 414.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3659, allocations: 27.33 kB / 414.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3677, allocations: 1.919 MB / 416.6 MB, free: 420 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.3685, allocations: 0.7088 MB / 417.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.3686, allocations: 17.94 kB / 417.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.3686, allocations: 28.23 kB / 417.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3686, allocations: 0 / 417.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06759/0.4362, allocations: 2.704 MB / 420.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004694/0.4368, allocations: 280.2 kB / 420.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/2.974, allocations: 4 kB / 420.4 MB, free: 15.1 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)