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.001129/0.00113, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009134/0.009134, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.545/1.545, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.003543/0.003542, allocations: 0.5624 MB / 292 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 12 kB / 353.4 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3609, allocations: 50.57 MB / 404 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.000754/0.3617, allocations: 243.3 kB / 404.2 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.3619, allocations: 21.62 kB / 404.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.3619, allocations: 0 / 404.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.3619, allocations: 0 / 404.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.362, allocations: 7.531 kB / 404.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.3621, allocations: 8.922 kB / 404.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.3622, allocations: 15.14 kB / 404.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.19e-05/0.3623, allocations: 1.75 kB / 404.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.3623, allocations: 9.391 kB / 404.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.3624, allocations: 12 kB / 404.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3624, allocations: 2.719 kB / 404.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.3625, allocations: 1.469 kB / 404.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.3625, allocations: 8.25 kB / 404.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.3625, allocations: 35.98 kB / 404.3 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.21e-05/0.3626, allocations: 13.42 kB / 404.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3626, allocations: 0 / 404.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3626, allocations: 0 / 404.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3626, allocations: 0.9688 kB / 404.3 MB, free: 9.547 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004013/0.363, allocations: 329.5 kB / 404.7 MB, free: 9.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.3631, allocations: 10 kB / 404.7 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.3632, allocations: 40.11 kB / 404.7 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.3632, allocations: 2.062 kB / 404.7 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3633, allocations: 165.2 kB / 404.9 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3633, allocations: 1.906 kB / 404.9 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3634, allocations: 6.219 kB / 404.9 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3635, allocations: 42.14 kB / 404.9 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3635, allocations: 5.016 kB / 404.9 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3635, allocations: 8.375 kB / 404.9 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3636, allocations: 0.9688 kB / 404.9 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.117e-05/0.3636, allocations: 14.06 kB / 405 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.3641, allocations: 302.9 kB / 405.3 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3642, allocations: 40.44 kB / 405.3 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.3642, allocations: 14.31 kB / 405.3 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3643, allocations: 5.594 kB / 405.3 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3643, allocations: 31.59 kB / 405.3 MB, free: 8.527 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3643, allocations: 0 / 405.3 MB, free: 8.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004638/0.3648, allocations: 161.9 kB / 405.5 MB, free: 8.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3648, allocations: 52.02 kB / 405.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.3649, allocations: 102.3 kB / 405.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3649, allocations: 27.02 kB / 405.7 MB, free: 8.199 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.365, allocations: 90.17 kB / 405.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.365, allocations: 17.73 kB / 405.8 MB, free: 8.098 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.365, allocations: 15.61 kB / 405.8 MB, free: 8.082 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.3651, allocations: 317.9 kB / 406.1 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.3651, allocations: 8.359 kB / 406.1 MB, free: 7.766 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.3652, allocations: 25.3 kB / 406.1 MB, free: 7.746 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.3653, allocations: 36.64 kB / 406.2 MB, free: 7.727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3653, allocations: 0 / 406.2 MB, free: 7.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001512/0.3654, allocations: 72.27 kB / 406.2 MB, free: 7.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.3655, allocations: 6.469 kB / 406.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3655, allocations: 0 / 406.3 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.3657, allocations: 19.42 kB / 406.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.3657, allocations: 6.062 kB / 406.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008254/0.3666, allocations: 1.255 MB / 407.5 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.3666, allocations: 4.594 kB / 407.5 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3666, allocations: 1.594 kB / 407.5 MB, free: 6.402 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 8.182e-05/0.3667, allocations: 123.8 kB / 407.7 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.3667, allocations: 6.234 kB / 407.7 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.3668, allocations: 5.203 kB / 407.7 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3668, allocations: 1.125 kB / 407.7 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3668, allocations: 0 / 407.7 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3668, allocations: 5.578 kB / 407.7 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3669, allocations: 158.3 kB / 407.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.367, allocations: 1.391 kB / 407.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.367, allocations: 7.375 kB / 407.8 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/0.3671, allocations: 19.83 kB / 407.9 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3671, allocations: 4.969 kB / 407.9 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006513/0.3678, allocations: 1.246 MB / 409.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3678, allocations: 1.641 kB / 409.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.368, allocations: 175.2 kB / 409.3 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.368, allocations: 78.62 kB / 409.4 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.368, allocations: 9.109 kB / 409.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.3681, allocations: 5 kB / 409.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.3681, allocations: 8.516 kB / 409.4 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.3681, allocations: 0.9688 kB / 409.4 MB, free: 4.551 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.7e-05/0.3681, allocations: 83.81 kB / 409.5 MB, free: 4.473 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3681, allocations: 0 / 409.5 MB, free: 4.473 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.3684, allocations: 9.125 kB / 409.5 MB, free: 4.473 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.0003611/0.3687, allocations: 0.7097 MB / 410.2 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.369, allocations: 142.7 kB / 410.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.369, allocations: 0 / 410.3 MB, free: 3.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3692, allocations: 124.9 kB / 410.4 MB, free: 3.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.3694, allocations: 9.359 kB / 410.5 MB, free: 3.566 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.3704, allocations: 1.295 MB / 411.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.3706, allocations: 0.6818 MB / 412.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.378e-05/0.3706, allocations: 1.562 kB / 412.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.3707, allocations: 12.48 kB / 412.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3707, allocations: 4 kB / 412.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1678/0.5384, allocations: 1.346 MB / 413.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.5387, allocations: 295.3 kB / 414.1 MB, free: 1.133 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.403, allocations: 3.938 kB / 414.1 MB, free: 1.129 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)