Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.072/1.072, allocations: 175.7 MB / 479.1 MB, free: 3.707 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.2 kB / 0.6663 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1627, allocations: 94.54 MB / 0.7586 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003978/0.1667, allocations: 2.516 MB / 0.7611 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.168, allocations: 0.7946 MB / 0.7619 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.1681, allocations: 0 / 0.7619 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.1693, allocations: 0.5337 MB / 0.7624 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1695, allocations: 103.5 kB / 0.7625 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1698, allocations: 111.7 kB / 0.7626 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1701, allocations: 195.4 kB / 0.7628 GB, free: 12.88 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003063/0.1704, allocations: 138.2 kB / 0.7629 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1705, allocations: 79.75 kB / 0.763 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.1707, allocations: 103.6 kB / 0.7631 GB, free: 12.55 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1707, allocations: 12 kB / 0.7631 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.1709, allocations: 107.8 kB / 0.7632 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.171, allocations: 59.81 kB / 0.7633 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.1711, allocations: 67.67 kB / 0.7633 GB, free: 12.31 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.1714, allocations: 231.1 kB / 0.7636 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1714, allocations: 0 / 0.7636 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1714, allocations: 0 / 0.7636 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1714, allocations: 4 kB / 0.7636 GB, free: 12.08 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000647/0.1721, allocations: 447 kB / 0.764 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1721, allocations: 12.03 kB / 0.764 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.1725, allocations: 44.8 kB / 0.764 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.1727, allocations: 224.1 kB / 0.7643 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1727, allocations: 16.59 kB / 0.7643 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1728, allocations: 12.38 kB / 0.7643 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.1731, allocations: 235.2 kB / 0.7645 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1731, allocations: 0 / 0.7645 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.1732, allocations: 8 kB / 0.7645 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.1732, allocations: 16.25 kB / 0.7645 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.1734, allocations: 145.3 kB / 0.7647 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.1745, allocations: 1.131 MB / 0.7658 GB, free: 9.578 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 7.674e-05/0.1746, allocations: 42.56 kB / 0.7658 GB, free: 9.527 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.1747, allocations: 16.86 kB / 0.7658 GB, free: 9.508 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1747, allocations: 3.938 kB / 0.7658 GB, free: 9.504 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1747, allocations: 34.64 kB / 0.7659 GB, free: 9.461 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1747, allocations: 0 / 0.7659 GB, free: 9.461 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.1749, allocations: 77.58 kB / 0.7659 GB, free: 9.379 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1749, allocations: 51.41 kB / 0.766 GB, free: 9.316 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1751, allocations: 176.8 kB / 0.7662 GB, free: 9.133 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1751, allocations: 33.7 kB / 0.7662 GB, free: 9.094 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.1752, allocations: 143.7 kB / 0.7663 GB, free: 8.949 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.1752, allocations: 11.91 kB / 0.7663 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.1753, allocations: 33.7 kB / 0.7664 GB, free: 8.898 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1754, allocations: 318.8 kB / 0.7667 GB, free: 8.578 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.1755, allocations: 32.78 kB / 0.7667 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/0.1756, allocations: 95.61 kB / 0.7668 GB, free: 8.418 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1757, allocations: 125.3 kB / 0.7669 GB, free: 8.262 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1757, allocations: 0 / 0.7669 GB, free: 8.262 MB / 0.5763 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002226/0.1759, allocations: 137.4 kB / 0.767 GB, free: 8.121 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.176, allocations: 8 kB / 0.7671 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.176, allocations: 0 / 0.7671 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.176, allocations: 7.938 kB / 0.7671 GB, free: 8.105 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1761, allocations: 27.92 kB / 0.7671 GB, free: 8.078 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1761, allocations: 7.984 kB / 0.7671 GB, free: 8.07 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.1762, allocations: 20.16 kB / 0.7671 GB, free: 8.051 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1762, allocations: 12 kB / 0.7671 GB, free: 8.039 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001085/0.1763, allocations: 120.1 kB / 0.7672 GB, free: 7.918 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.329e-05/0.1764, allocations: 81.44 kB / 0.7673 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001447/0.1765, allocations: 133.2 kB / 0.7674 GB, free: 7.641 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.1765, allocations: 0 / 0.7674 GB, free: 7.641 MB / 0.5763 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001848/0.1767, allocations: 125.4 kB / 0.7676 GB, free: 7.512 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1767, allocations: 7.984 kB / 0.7676 GB, free: 7.504 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1767, allocations: 8.25 kB / 0.7676 GB, free: 7.496 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.1767, allocations: 8 kB / 0.7676 GB, free: 7.488 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.1768, allocations: 20 kB / 0.7676 GB, free: 7.469 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1768, allocations: 7.875 kB / 0.7676 GB, free: 7.461 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.1769, allocations: 19.88 kB / 0.7676 GB, free: 7.441 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.1769, allocations: 8.281 kB / 0.7676 GB, free: 7.434 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.177, allocations: 188.2 kB / 0.7678 GB, free: 7.242 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.177, allocations: 7.953 kB / 0.7678 GB, free: 7.234 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.177, allocations: 16.92 kB / 0.7678 GB, free: 7.211 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1771, allocations: 7.938 kB / 0.7679 GB, free: 7.203 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1771, allocations: 0 / 0.7679 GB, free: 7.203 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1771, allocations: 0 / 0.7679 GB, free: 7.203 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.1775, allocations: 485 kB / 0.7683 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1775, allocations: 8 kB / 0.7683 GB, free: 6.652 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.1776, allocations: 4 kB / 0.7683 GB, free: 6.648 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1776, allocations: 8.125 kB / 0.7683 GB, free: 6.641 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1776, allocations: 0 / 0.7683 GB, free: 6.641 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1776, allocations: 0 / 0.7683 GB, free: 6.641 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1776, allocations: 4 kB / 0.7683 GB, free: 6.637 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1777, allocations: 115.5 kB / 0.7684 GB, free: 6.496 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.1778, allocations: 93 kB / 0.7685 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1778, allocations: 0 / 0.7685 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.1778, allocations: 4 kB / 0.7685 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.1778, allocations: 7.984 kB / 0.7685 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.1778, allocations: 0 / 0.7685 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001074/0.178, allocations: 128.9 kB / 0.7687 GB, free: 6.25 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6.1e-08/0.178, allocations: 0 / 0.7687 GB, free: 6.25 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0003376/0.1783, allocations: 55.84 kB / 0.7687 GB, free: 6.195 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (4): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001044/0.1784, allocations: 107.2 kB / 0.7688 GB, free: 6.078 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1786, allocations: 99.7 kB / 0.7689 GB, free: 5.98 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1786, allocations: 1.25 kB / 0.7689 GB, free: 5.98 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.1786, allocations: 23.92 kB / 0.7689 GB, free: 5.957 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1789, allocations: 20.23 kB / 0.769 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.1794, allocations: 316.4 kB / 0.7693 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1798, allocations: 0.7163 MB / 0.77 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.1798, allocations: 15.44 kB / 0.77 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of SimCode: time 2.91e-07/0.1798, allocations: 0 / 0.77 GB, free: 4.832 MB / 0.5763 GB Notification: Performance of Templates: time 0.00312/0.1829, allocations: 1.484 MB / 0.7714 GB, free: 3.352 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.117058282950893] Failed to read output from testmodel.py, exit status != 0: 0.1899444491136819 0.20390046099999995 0.029643714 Calling exit ...