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.001267/0.001267, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001298/0.001298, allocations: 194.5 kB / 16.25 MB, free: 6.625 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.00266/0.00266, allocations: 0.5739 MB / 290.7 MB, free: 1.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.89 kB / 351.2 MB, free: 2.535 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1039, allocations: 49.59 MB / 400.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001591/0.1056, allocations: 0.5782 MB / 401.3 MB, free: 332 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001558/0.1057, allocations: 27.89 kB / 401.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.1058, allocations: 0 / 401.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.1058, allocations: 3.938 kB / 401.4 MB, free: 300 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.405e-05/0.1059, allocations: 4 kB / 401.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.106, allocations: 0 / 401.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.106, allocations: 15.98 kB / 401.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1061, allocations: 0 / 401.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.1061, allocations: 15.92 kB / 401.4 MB, free: 264 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.816e-05/0.1062, allocations: 11.92 kB / 401.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1062, allocations: 0 / 401.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.1062, allocations: 8 kB / 401.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1062, allocations: 4 kB / 401.4 MB, free: 240 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.1063, allocations: 11.92 kB / 401.4 MB, free: 228 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.692e-05/0.1063, allocations: 7.922 kB / 401.4 MB, free: 220 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1063, allocations: 3.938 kB / 401.4 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1063, allocations: 4 kB / 401.5 MB, free: 212 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1063, allocations: 0 / 401.5 MB, free: 212 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.1826/0.2889, allocations: 335.6 kB / 401.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.289, allocations: 16.17 kB / 401.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.289, allocations: 35.92 kB / 401.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.2891, allocations: 3.766 kB / 401.8 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.539e-05/0.2892, allocations: 162.9 kB / 402 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.2892, allocations: 6.094 kB / 402 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.2892, allocations: 2.625 kB / 402 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.2893, allocations: 45.52 kB / 402 MB, free: 9.992 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2894, allocations: 7.562 kB / 402.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.2894, allocations: 1.156 kB / 402.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2894, allocations: 1.344 kB / 402.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.2894, allocations: 16 kB / 402.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.2898, allocations: 295.1 kB / 402.4 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.2899, allocations: 41.78 kB / 402.4 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.545e-05/0.2899, allocations: 16.09 kB / 402.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.2899, allocations: 3.562 kB / 402.4 MB, free: 9.656 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.2899, allocations: 36 kB / 402.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2899, allocations: 0 / 402.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003736/0.2903, allocations: 162.2 kB / 402.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.2903, allocations: 52.53 kB / 402.7 MB, free: 9.422 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.928e-05/0.2904, allocations: 99.33 kB / 402.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.2904, allocations: 25.7 kB / 402.8 MB, free: 9.293 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.2904, allocations: 96.84 kB / 402.9 MB, free: 9.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.2905, allocations: 15.27 kB / 402.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.2905, allocations: 22.66 kB / 402.9 MB, free: 9.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.2906, allocations: 316.6 kB / 403.2 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.2906, allocations: 12.86 kB / 403.2 MB, free: 8.863 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.2906, allocations: 21.64 kB / 403.3 MB, free: 8.848 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.2907, allocations: 34.11 kB / 403.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2907, allocations: 0.625 kB / 403.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001191/0.2908, allocations: 74.27 kB / 403.4 MB, free: 8.785 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2908, allocations: 5.469 kB / 403.4 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2908, allocations: 4.016 kB / 403.4 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.291, allocations: 17.47 kB / 403.4 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.291, allocations: 6.016 kB / 403.4 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006805/0.2917, allocations: 1.342 MB / 404.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.2918, allocations: 11.94 kB / 404.8 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2918, allocations: 5.859 kB / 404.8 MB, free: 7.414 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 5.491e-05/0.2918, allocations: 117.4 kB / 404.9 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.2919, allocations: 7.062 kB / 404.9 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.2919, allocations: 8.734 kB / 404.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2919, allocations: 0 / 404.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2919, allocations: 1.469 kB / 404.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2919, allocations: 0.5625 kB / 404.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.292, allocations: 167.1 kB / 405.1 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.292, allocations: 4.75 kB / 405.1 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.2921, allocations: 3.328 kB / 405.1 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.27e-05/0.2921, allocations: 19.41 kB / 405.1 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.2922, allocations: 1.438 kB / 405.1 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005648/0.2927, allocations: 1.346 MB / 406.4 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2927, allocations: 5.406 kB / 406.4 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.2929, allocations: 171.8 kB / 406.6 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.2929, allocations: 83.98 kB / 406.7 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.2929, allocations: 8.5 kB / 406.7 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.642e-05/0.293, allocations: 0.5625 kB / 406.7 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.293, allocations: 4.656 kB / 406.7 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.293, allocations: 3.609 kB / 406.7 MB, free: 5.477 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.205e-05/0.2931, allocations: 79.61 kB / 406.8 MB, free: 5.402 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2931, allocations: 0 / 406.8 MB, free: 5.402 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.2933, allocations: 9.469 kB / 406.8 MB, free: 5.402 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.0003113/0.2936, allocations: 0.704 MB / 407.5 MB, free: 4.727 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.2939, allocations: 144.7 kB / 407.6 MB, free: 4.613 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2939, allocations: 4.125 kB / 407.6 MB, free: 4.609 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.294, allocations: 131.4 kB / 407.8 MB, free: 4.496 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.2942, allocations: 1.625 kB / 407.8 MB, free: 4.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.2951, allocations: 1.289 MB / 409.1 MB, free: 3.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.2952, allocations: 0.6857 MB / 409.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.545e-05/0.2952, allocations: 1.703 kB / 409.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.2952, allocations: 12.22 kB / 409.8 MB, free: 2.586 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2952, allocations: 0 / 409.8 MB, free: 2.586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.3092, allocations: 1.435 MB / 411.2 MB, free: 2.391 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.3094, allocations: 293.6 kB / 411.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.075, allocations: 5.891 kB / 411.5 MB, free: 2.012 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)