Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 210.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.003088/0.003088, allocations: 0.5786 MB / 313 MB, free: 2.32 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002928/0.002928, allocations: 59.91 kB / 435.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1184, allocations: 53.54 MB / 488.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.003942/0.1223, allocations: 1.605 MB / 490.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000365/0.1227, allocations: 91.7 kB / 490.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.1228, allocations: 7.938 kB / 490.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.213e-05/0.1228, allocations: 11.86 kB / 490.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.123, allocations: 27.77 kB / 490.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.1232, allocations: 27.91 kB / 490.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1234, allocations: 107.5 kB / 490.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1235, allocations: 27.97 kB / 490.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.938e-05/0.1236, allocations: 43.86 kB / 490.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.1237, allocations: 39.78 kB / 490.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1237, allocations: 11.94 kB / 490.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.1237, allocations: 8 kB / 490.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.1238, allocations: 23.92 kB / 490.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.1238, allocations: 35.86 kB / 490.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.124, allocations: 115.7 kB / 490.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.124, allocations: 0 / 490.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.124, allocations: 4 kB / 490.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.124, allocations: 3.938 kB / 490.8 MB, free: 9.086 MB / 350.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.0005268/0.1245, allocations: 322.2 kB / 491.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1246, allocations: 8.031 kB / 491.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/0.1246, allocations: 42.73 kB / 491.2 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.1247, allocations: 16.84 kB / 491.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1249, allocations: 126.4 kB / 491.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1249, allocations: 8.562 kB / 491.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.1249, allocations: 16.33 kB / 491.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1251, allocations: 89.78 kB / 491.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1251, allocations: 4 kB / 491.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1251, allocations: 8 kB / 491.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1251, allocations: 0 / 491.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1253, allocations: 63.94 kB / 491.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.1258, allocations: 331.8 kB / 491.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.126, allocations: 106.4 kB / 491.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/0.1261, allocations: 32.84 kB / 492 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1261, allocations: 0 / 492 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1261, allocations: 34.56 kB / 492 MB, free: 7.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1261, allocations: 4 kB / 492 MB, free: 7.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001046/0.1272, allocations: 0.5293 MB / 492.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.1272, allocations: 51.62 kB / 492.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1273, allocations: 130.8 kB / 492.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1273, allocations: 29.7 kB / 492.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.1274, allocations: 100.3 kB / 492.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.1275, allocations: 59.48 kB / 492.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.1275, allocations: 37.7 kB / 492.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.1277, allocations: 322.8 kB / 493.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.1278, allocations: 35.98 kB / 493.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.345e-05/0.1279, allocations: 58.5 kB / 493.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.128, allocations: 102.6 kB / 493.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.128, allocations: 4 kB / 493.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002097/0.1282, allocations: 137.5 kB / 493.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1283, allocations: 4 kB / 493.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1283, allocations: 4 kB / 493.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1283, allocations: 0 / 493.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.1285, allocations: 39.95 kB / 493.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1285, allocations: 8 kB / 493.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.1285, allocations: 0 / 493.6 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1285, allocations: 11.94 kB / 493.6 MB, free: 5.988 MB / 350.1 MB 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.1286, allocations: 121.8 kB / 493.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1287, allocations: 19.88 kB / 493.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.1287, allocations: 12.78 kB / 493.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1287, allocations: 4 kB / 493.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1287, allocations: 0 / 493.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1287, allocations: 0 / 493.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.1294, allocations: 471 kB / 494.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1294, allocations: 0 / 494.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.1295, allocations: 27.92 kB / 494.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.1297, allocations: 24.84 kB / 494.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1297, allocations: 0 / 494.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.1307, allocations: 1.279 MB / 495.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.1307, allocations: 7.969 kB / 495.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.1312, allocations: 301.8 kB / 495.9 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.1312, allocations: 7.984 kB / 495.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1312, allocations: 11.98 kB / 495.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.1313, allocations: 0 / 495.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1313, allocations: 15.92 kB / 495.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1313, allocations: 4 kB / 495.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.3e-05/0.1314, allocations: 95.86 kB / 496 MB, free: 3.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1314, allocations: 4 kB / 496 MB, free: 3.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1316, allocations: 28 kB / 496.1 MB, free: 3.359 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0006961/0.1323, allocations: 0.8289 MB / 496.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1325, allocations: 91.84 kB / 497 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1325, allocations: 0 / 497 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.1328, allocations: 166.9 kB / 497.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1332, allocations: 30.48 kB / 497.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.1351, allocations: 1.795 MB / 499 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.804e-05/0.1352, allocations: 96.61 kB / 499.1 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.837e-05/0.1352, allocations: 9.078 kB / 499.1 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.1353, allocations: 31.42 kB / 499.1 MB, free: 152 kB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1353, allocations: 192 / 499.1 MB, free: 152 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.1778, allocations: 3.417 MB / 0.4907 GB, free: 12.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/11.95, allocations: 7.125 kB / 0.4907 GB, free: 12.92 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.646524675190449] Failed to read output from testmodel.py, exit status != 0: 12.063999416306615 12.27206185 11.954834914 Calling exit ...