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.002521/0.002521, allocations: 108 kB / 15.61 MB, free: 148 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.002623/0.002624, allocations: 196.5 kB / 16.53 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.464/2.464, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.006684/0.006683, allocations: 0.5586 MB / 291 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 63.91 kB / 351.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2106, allocations: 49.6 MB / 401.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.004544/0.2152, allocations: 0.5029 MB / 401.8 MB, free: 80 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003547/0.2157, allocations: 27.89 kB / 401.8 MB, free: 52 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.2157, allocations: 0 / 401.8 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.2158, allocations: 4 kB / 401.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.2158, allocations: 7.875 kB / 401.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.216, allocations: 4 kB / 401.8 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.2161, allocations: 11.98 kB / 401.8 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.2162, allocations: 4 kB / 401.8 MB, free: 20 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.2163, allocations: 19.91 kB / 401.8 MB, free: 0 / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4343/0.6506, allocations: 3.953 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.6507, allocations: 1.031 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.114e-05/0.6508, allocations: 1.438 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.6509, allocations: 5.094 kB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.651, allocations: 12.42 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.6512, allocations: 12.8 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.749e-05/0.6512, allocations: 0 / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.943e-06/0.6512, allocations: 2.406 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.6512, allocations: 0 / 401.9 MB, free: 10.36 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.0009459/0.6522, allocations: 335.5 kB / 402.2 MB, free: 10 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001132/0.6524, allocations: 16.11 kB / 402.2 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.6524, allocations: 36.47 kB / 402.3 MB, free: 9.961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.6524, allocations: 2.594 kB / 402.3 MB, free: 9.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.6526, allocations: 168.5 kB / 402.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.6526, allocations: 5.375 kB / 402.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.6526, allocations: 7.297 kB / 402.4 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.6528, allocations: 41.64 kB / 402.5 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.6528, allocations: 4.562 kB / 402.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.6528, allocations: 3.438 kB / 402.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6528, allocations: 6.453 kB / 402.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.6529, allocations: 13.34 kB / 402.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008523/0.6538, allocations: 293.6 kB / 402.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.6541, allocations: 47.23 kB / 402.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.137e-05/0.6542, allocations: 11.66 kB / 402.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.6543, allocations: 0 / 402.8 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.751e-05/0.6544, allocations: 40.39 kB / 402.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 3.016e-06/0.6544, allocations: 0 / 402.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0008274/0.6552, allocations: 159.7 kB / 403 MB, free: 9.223 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6553, allocations: 52.12 kB / 403.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.332e-05/0.6554, allocations: 99.97 kB / 403.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.6554, allocations: 25.7 kB / 403.2 MB, free: 9.031 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.6555, allocations: 98.61 kB / 403.3 MB, free: 8.938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.6555, allocations: 14.78 kB / 403.3 MB, free: 8.926 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.6555, allocations: 18.77 kB / 403.3 MB, free: 8.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.6556, allocations: 320.7 kB / 403.7 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.6557, allocations: 8.812 kB / 403.7 MB, free: 8.594 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-05/0.6557, allocations: 22.12 kB / 403.7 MB, free: 8.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.6559, allocations: 34.42 kB / 403.7 MB, free: 8.562 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6559, allocations: 0 / 403.7 MB, free: 8.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004142/0.6563, allocations: 76.48 kB / 403.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.6564, allocations: 4.812 kB / 403.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.6564, allocations: 1.391 kB / 403.8 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.6569, allocations: 15.22 kB / 403.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.6571, allocations: 16.16 kB / 403.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.6588, allocations: 1.34 MB / 405.2 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.6589, allocations: 5.062 kB / 405.2 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.6589, allocations: 6.469 kB / 405.2 MB, free: 7.145 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 0.0002306/0.6592, allocations: 123.8 kB / 405.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.6593, allocations: 2.203 kB / 405.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.578e-05/0.6593, allocations: 7.516 kB / 405.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.6594, allocations: 5.062 kB / 405.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.6594, allocations: 0.5312 kB / 405.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.6594, allocations: 1.938 kB / 405.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.6598, allocations: 165.8 kB / 405.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6598, allocations: 5.766 kB / 405.5 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.6599, allocations: 2.812 kB / 405.5 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002202/0.6602, allocations: 19.44 kB / 405.5 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.6603, allocations: 1.344 kB / 405.5 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.6614, allocations: 1.346 MB / 406.9 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6614, allocations: 8.094 kB / 406.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.6619, allocations: 172.8 kB / 407 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.662, allocations: 82.8 kB / 407.1 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.662, allocations: 5.062 kB / 407.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.6621, allocations: 0.7031 kB / 407.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.6622, allocations: 6.516 kB / 407.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.6622, allocations: 1.797 kB / 407.1 MB, free: 5.199 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.6623, allocations: 82.59 kB / 407.2 MB, free: 5.121 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6623, allocations: 0 / 407.2 MB, free: 5.121 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003587/0.6627, allocations: 9.875 kB / 407.2 MB, free: 5.121 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.0008633/0.6636, allocations: 0.7027 MB / 407.9 MB, free: 4.445 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.664, allocations: 139.5 kB / 408.1 MB, free: 4.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.664, allocations: 4.125 kB / 408.1 MB, free: 4.332 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.6644, allocations: 132.1 kB / 408.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.6647, allocations: 3.875 kB / 408.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.6665, allocations: 1.272 MB / 409.5 MB, free: 3.027 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.6669, allocations: 0.6856 MB / 410.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.667, allocations: 2 kB / 410.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.667, allocations: 12.28 kB / 410.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6671, allocations: 0 / 410.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04549/0.7126, allocations: 1.523 MB / 411.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.19, allocations: 17.03 kB / 411.7 MB, free: 1.98 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)