Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",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.0009554/0.0009554, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009757/0.0009758, allocations: 197.5 kB / 16.14 MB, free: 6.66 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.186/1.186, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.002622/0.002622, allocations: 0.5546 MB / 290.5 MB, free: 1.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 63.91 kB / 351 MB, free: 2.699 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07268/0.07373, allocations: 49.59 MB / 400.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001528/0.07529, allocations: 0.5832 MB / 401.2 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.07543, allocations: 27.89 kB / 401.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.07547, allocations: 0 / 401.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.0755, allocations: 3.938 kB / 401.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.569e-05/0.07553, allocations: 4 kB / 401.2 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.426e-05/0.07563, allocations: 4 kB / 401.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.07568, allocations: 15.98 kB / 401.2 MB, free: 444 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.07573, allocations: 4 kB / 401.2 MB, free: 440 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.07575, allocations: 7.938 kB / 401.2 MB, free: 432 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.07581, allocations: 11.92 kB / 401.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.07582, allocations: 4 kB / 401.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.07584, allocations: 0 / 401.2 MB, free: 416 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.07585, allocations: 3.984 kB / 401.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.07588, allocations: 11.92 kB / 401.3 MB, free: 400 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.056e-05/0.07593, allocations: 11.94 kB / 401.3 MB, free: 388 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.07594, allocations: 7.938 kB / 401.3 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.07594, allocations: 3.984 kB / 401.3 MB, free: 376 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.07595, allocations: 0 / 401.3 MB, free: 376 kB / 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.1276/0.2035, allocations: 332.3 kB / 401.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2036, allocations: 9.5 kB / 401.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.642e-05/0.2036, allocations: 32.34 kB / 401.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2036, allocations: 5.938 kB / 401.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.868e-05/0.2037, allocations: 162.1 kB / 401.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.2037, allocations: 5.094 kB / 401.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2037, allocations: 4.672 kB / 401.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/0.2038, allocations: 45.56 kB / 401.9 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2038, allocations: 4.594 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2039, allocations: 0.7812 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2039, allocations: 1.25 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.2039, allocations: 20.59 kB / 401.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.2042, allocations: 296.6 kB / 402.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.036e-05/0.2043, allocations: 39.95 kB / 402.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.2043, allocations: 14.06 kB / 402.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.2043, allocations: 5.469 kB / 402.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.051e-05/0.2043, allocations: 32.36 kB / 402.3 MB, free: 10.22 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2043, allocations: 0 / 402.3 MB, free: 10.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003144/0.2047, allocations: 159.8 kB / 402.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/0.2047, allocations: 54.03 kB / 402.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.156e-05/0.2047, allocations: 99.59 kB / 402.6 MB, free: 9.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.2047, allocations: 26.7 kB / 402.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.2048, allocations: 89.45 kB / 402.7 MB, free: 9.812 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.2048, allocations: 20.23 kB / 402.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.2048, allocations: 22.59 kB / 402.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.407e-05/0.2049, allocations: 321.6 kB / 403 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.2049, allocations: 5.656 kB / 403 MB, free: 9.473 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.2049, allocations: 26.91 kB / 403.1 MB, free: 9.453 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.205, allocations: 34.22 kB / 403.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.205, allocations: 2.094 kB / 403.1 MB, free: 9.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001087/0.2051, allocations: 75.44 kB / 403.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2051, allocations: 6.297 kB / 403.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2051, allocations: 4.031 kB / 403.2 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/0.2052, allocations: 15.72 kB / 403.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.2053, allocations: 6.609 kB / 403.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005871/0.2059, allocations: 1.253 MB / 404.5 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.2059, allocations: 5.156 kB / 404.5 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2059, allocations: 2.531 kB / 404.5 MB, free: 8.113 MB / 286.1 MB 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 4.784e-05/0.206, allocations: 117.1 kB / 404.6 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.206, allocations: 5.719 kB / 404.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/0.206, allocations: 5 kB / 404.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.206, allocations: 6.047 kB / 404.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.206, allocations: 0 / 404.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.206, allocations: 3.938 kB / 404.6 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.2061, allocations: 163.5 kB / 404.8 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2061, allocations: 4.938 kB / 404.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.2062, allocations: 2.984 kB / 404.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.818e-05/0.2062, allocations: 19.55 kB / 404.8 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.2063, allocations: 4.953 kB / 404.8 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004772/0.2067, allocations: 1.249 MB / 406 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2068, allocations: 1.703 kB / 406 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2069, allocations: 175.4 kB / 406.2 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.2069, allocations: 79.91 kB / 406.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.2069, allocations: 1.906 kB / 406.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.207, allocations: 0.5625 kB / 406.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.207, allocations: 4.547 kB / 406.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.207, allocations: 6.984 kB / 406.3 MB, free: 6.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.628e-05/0.207, allocations: 84 kB / 406.4 MB, free: 6.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.207, allocations: 1.25 kB / 406.4 MB, free: 6.191 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.2072, allocations: 8.781 kB / 406.4 MB, free: 6.188 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.000245/0.2075, allocations: 0.7054 MB / 407.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.2077, allocations: 145.8 kB / 407.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2077, allocations: 0 / 407.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.261e-05/0.2078, allocations: 124.1 kB / 407.4 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.208, allocations: 9.234 kB / 407.4 MB, free: 5.285 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.2087, allocations: 1.285 MB / 408.7 MB, free: 4.082 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.323e-05/0.2088, allocations: 0.6855 MB / 409.4 MB, free: 3.383 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.513e-05/0.2088, allocations: 1.969 kB / 409.4 MB, free: 3.383 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.2088, allocations: 13.25 kB / 409.4 MB, free: 3.375 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2088, allocations: 0 / 409.4 MB, free: 3.375 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.463/1.672, allocations: 1.414 MB / 410.8 MB, free: 3.156 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.672, allocations: 290.3 kB / 411.1 MB, free: 2.781 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.801, allocations: 2.922 kB / 411.1 MB, free: 2.781 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)