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.001577/0.001577, 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.002001/0.002001, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.734/1.734, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.004459/0.004459, allocations: 0.5624 MB / 291 MB, free: 1.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001859, allocations: 59.91 kB / 351.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.161, allocations: 49.6 MB / 401.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.3505/0.5116, allocations: 1.641 MB / 402.9 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004224/0.5121, allocations: 92.86 kB / 403 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.771e-05/0.5123, allocations: 1.656 kB / 403 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.347e-05/0.5124, allocations: 17.89 kB / 403 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.5125, allocations: 32.42 kB / 403 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.5127, allocations: 24.06 kB / 403.1 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.513, allocations: 105.8 kB / 403.2 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.5132, allocations: 38.66 kB / 403.2 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.034e-05/0.5133, allocations: 36.88 kB / 403.2 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.5134, allocations: 43.81 kB / 403.3 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.5134, allocations: 8.969 kB / 403.3 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.5135, allocations: 8.875 kB / 403.3 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.5135, allocations: 23.42 kB / 403.3 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.5136, allocations: 56.2 kB / 403.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.5138, allocations: 106.1 kB / 403.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5139, allocations: 0 / 403.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5139, allocations: 0 / 403.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.5139, allocations: 4.594 kB / 403.5 MB, free: 9.469 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.0007089/0.5146, allocations: 397.9 kB / 403.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/0.5147, allocations: 10.59 kB / 403.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.392e-05/0.5148, allocations: 42.56 kB / 403.9 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.5148, allocations: 17.59 kB / 403.9 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.5151, allocations: 183.8 kB / 404.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.5151, allocations: 7.719 kB / 404.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.5151, allocations: 14.25 kB / 404.1 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.5154, allocations: 100.2 kB / 404.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5154, allocations: 1.188 kB / 404.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.5155, allocations: 3.438 kB / 404.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.5155, allocations: 6.375 kB / 404.2 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.5157, allocations: 58.45 kB / 404.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.5164, allocations: 387.6 kB / 404.7 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.5166, allocations: 98.44 kB / 404.8 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.5167, allocations: 36.84 kB / 404.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.5168, allocations: 1.375 kB / 404.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.5168, allocations: 36.41 kB / 404.9 MB, free: 8.434 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.5168, allocations: 0 / 404.9 MB, free: 8.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001535/0.5183, allocations: 0.6919 MB / 405.5 MB, free: 7.922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.5184, allocations: 52.5 kB / 405.6 MB, free: 7.859 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.5185, allocations: 125.4 kB / 405.7 MB, free: 7.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.5186, allocations: 30.8 kB / 405.7 MB, free: 7.715 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.5187, allocations: 102.5 kB / 405.8 MB, free: 7.617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.5187, allocations: 55.05 kB / 405.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.5188, allocations: 39.22 kB / 405.9 MB, free: 7.543 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.5189, allocations: 320.2 kB / 406.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.519, allocations: 34.33 kB / 406.3 MB, free: 7.215 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.732e-05/0.5191, allocations: 64.62 kB / 406.4 MB, free: 7.172 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.0009774/0.52, allocations: 411.3 kB / 406.8 MB, free: 6.879 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.52, allocations: 3.938 kB / 406.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003208/0.5204, allocations: 175 kB / 406.9 MB, free: 6.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.5204, allocations: 8.766 kB / 406.9 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.5204, allocations: 0.9688 kB / 406.9 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.5206, allocations: 28.45 kB / 407 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.5207, allocations: 23.06 kB / 407 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.522, allocations: 1.622 MB / 408.6 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.5221, allocations: 8.719 kB / 408.6 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.5221, allocations: 8.984 kB / 408.6 MB, free: 5.141 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: 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 0.0001327/0.5223, allocations: 132.4 kB / 408.8 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.5223, allocations: 10.66 kB / 408.8 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.5224, allocations: 14.78 kB / 408.8 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5224, allocations: 2.094 kB / 408.8 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5224, allocations: 1.188 kB / 408.8 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.5224, allocations: 4.891 kB / 408.8 MB, free: 4.988 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.0007265/0.5231, allocations: 0.5927 MB / 409.4 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5231, allocations: 3.625 kB / 409.4 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5233, allocations: 24.5 kB / 409.4 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.704e-05/0.5233, allocations: 24.78 kB / 409.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5234, allocations: 1.375 kB / 409.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008745/0.5242, allocations: 1.366 MB / 410.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5243, allocations: 4.938 kB / 410.8 MB, free: 3.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.5246, allocations: 303 kB / 411.1 MB, free: 2.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.5247, allocations: 84.7 kB / 411.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.5247, allocations: 11.86 kB / 411.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.5248, allocations: 1.219 kB / 411.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.5248, allocations: 14.61 kB / 411.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5249, allocations: 8.188 kB / 411.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.325e-05/0.5249, allocations: 94.39 kB / 411.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5249, allocations: 1.031 kB / 411.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.5253, allocations: 35.59 kB / 411.3 MB, free: 2.594 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.000584/0.5258, allocations: 0.8301 MB / 412.2 MB, free: 1.832 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.5264, allocations: 238.1 kB / 412.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5264, allocations: 0 / 412.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.5266, allocations: 167.8 kB / 412.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5269, allocations: 27 kB / 412.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.5292, allocations: 1.847 MB / 414.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.5296, allocations: 0.7079 MB / 415.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.5296, allocations: 14.44 kB / 415.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.5297, allocations: 27.45 kB / 415.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5297, allocations: 5.25 kB / 415.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04338/0.5731, allocations: 2.959 MB / 418.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.87, allocations: 8.344 kB / 418.2 MB, free: 14.79 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)