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.00144/0.00144, allocations: 108 kB / 15.6 MB, free: 132 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.00161/0.001609, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.668/1.668, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.003992/0.003992, allocations: 0.5546 MB / 290.9 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.89 kB / 351.7 MB, free: 2.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1695, allocations: 49.59 MB / 401.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.3567/0.5262, allocations: 1.652 MB / 402.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004905/0.5268, allocations: 95.33 kB / 403 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.527, allocations: 3.125 kB / 403 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.558e-05/0.5271, allocations: 13.25 kB / 403 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.5273, allocations: 28.23 kB / 403 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.5275, allocations: 25.53 kB / 403.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.5278, allocations: 113.6 kB / 403.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.5281, allocations: 27.66 kB / 403.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.5282, allocations: 37.97 kB / 403.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.5284, allocations: 50.19 kB / 403.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.5284, allocations: 7.812 kB / 403.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.951e-05/0.5285, allocations: 12.59 kB / 403.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.5285, allocations: 17.81 kB / 403.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.5286, allocations: 48.62 kB / 403.4 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.5289, allocations: 113.1 kB / 403.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.5289, allocations: 1.188 kB / 403.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5289, allocations: 0 / 403.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.529, allocations: 0 / 403.5 MB, free: 9.797 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.0007147/0.5297, allocations: 401.3 kB / 403.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.5298, allocations: 13.77 kB / 403.9 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.5298, allocations: 43.86 kB / 403.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.5299, allocations: 15.38 kB / 403.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.5301, allocations: 185.6 kB / 404.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.5301, allocations: 4.062 kB / 404.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.5301, allocations: 22.25 kB / 404.2 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.5304, allocations: 96.36 kB / 404.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5304, allocations: 1.094 kB / 404.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5304, allocations: 1.188 kB / 404.3 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.5305, allocations: 2.219 kB / 404.3 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.5306, allocations: 55.91 kB / 404.3 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.5314, allocations: 397.2 kB / 404.7 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.5317, allocations: 104.3 kB / 404.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.5318, allocations: 37.59 kB / 404.8 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.5318, allocations: 5.469 kB / 404.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5318, allocations: 36.52 kB / 404.9 MB, free: 8.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.5318, allocations: 0 / 404.9 MB, free: 8.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001512/0.5334, allocations: 0.6791 MB / 405.6 MB, free: 8.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.5334, allocations: 62.28 kB / 405.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.5336, allocations: 123.7 kB / 405.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.5336, allocations: 27.08 kB / 405.8 MB, free: 7.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.5337, allocations: 101.8 kB / 405.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.5338, allocations: 55.42 kB / 405.9 MB, free: 7.664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.5339, allocations: 29.89 kB / 405.9 MB, free: 7.641 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.534, allocations: 320.8 kB / 406.3 MB, free: 7.324 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.5341, allocations: 38.47 kB / 406.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.5342, allocations: 65.52 kB / 406.4 MB, free: 7.266 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.001057/0.5353, allocations: 411 kB / 406.8 MB, free: 6.973 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5353, allocations: 5.125 kB / 406.8 MB, free: 6.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003325/0.5357, allocations: 171 kB / 406.9 MB, free: 6.871 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5357, allocations: 5.875 kB / 406.9 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5357, allocations: 0 / 406.9 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.5359, allocations: 32.55 kB / 407 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.536, allocations: 26.16 kB / 407 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.5376, allocations: 1.614 MB / 408.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.5377, allocations: 6.188 kB / 408.6 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.5377, allocations: 9 kB / 408.6 MB, free: 5.238 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.0001542/0.5379, allocations: 141 kB / 408.8 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.5379, allocations: 8.688 kB / 408.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.5379, allocations: 16.2 kB / 408.8 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.538, allocations: 1.312 kB / 408.8 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.538, allocations: 1.953 kB / 408.8 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.538, allocations: 1.406 kB / 408.8 MB, free: 5.082 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.0007711/0.5388, allocations: 0.6019 MB / 409.4 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.5388, allocations: 1.781 kB / 409.4 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.5389, allocations: 27.98 kB / 409.4 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.207e-05/0.539, allocations: 20.3 kB / 409.4 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.539, allocations: 6.031 kB / 409.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.5402, allocations: 1.373 MB / 410.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5402, allocations: 5.875 kB / 410.8 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.5407, allocations: 297.5 kB / 411.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.5407, allocations: 93.42 kB / 411.2 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.5408, allocations: 7.031 kB / 411.2 MB, free: 2.773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.5409, allocations: 5.406 kB / 411.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.5409, allocations: 10.62 kB / 411.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5409, allocations: 3.906 kB / 411.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.246e-05/0.541, allocations: 98.91 kB / 411.3 MB, free: 2.688 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.541, allocations: 0 / 411.3 MB, free: 2.688 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00033/0.5414, allocations: 31.53 kB / 411.4 MB, free: 2.684 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.0007923/0.5422, allocations: 0.8275 MB / 412.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005344/0.5427, allocations: 244.6 kB / 412.4 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5427, allocations: 0 / 412.4 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.543, allocations: 168.1 kB / 412.6 MB, free: 1.629 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.5434, allocations: 16.66 kB / 412.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.5459, allocations: 1.847 MB / 414.5 MB, free: 40 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.5466, allocations: 0.7129 MB / 415.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.716e-05/0.5466, allocations: 10.31 kB / 415.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.5467, allocations: 28.02 kB / 415.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5467, allocations: 0 / 415.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.5809, allocations: 2.992 MB / 418.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.43, allocations: 6.188 kB / 418.2 MB, free: 14.87 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)