Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0009373/0.0009373, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.00232, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007051/0.0007051, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000919/0.001624, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9614/0.9614, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7865/0.7865, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2875/1.074, allocations: 49.04 MB / 447.8 MB, free: 6.59 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 1.094 kB / 449.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.584e-05, allocations: 2.312 kB / 449.2 MB, free: 5.246 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1387/0.1387, allocations: 146.5 MB / 0.5818 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1407, allocations: 1.018 MB / 0.5828 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.1411, allocations: 23.81 kB / 0.5828 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1414, allocations: 91.2 kB / 0.5829 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008042/0.1422, allocations: 405.7 kB / 0.5833 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.143, allocations: 367.1 kB / 0.5836 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.1438, allocations: 0.7016 MB / 0.5843 GB, free: 48 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.1442, allocations: 215.6 kB / 0.5845 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.1449, allocations: 390.8 kB / 0.5849 GB, free: 15.46 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.1452, allocations: 223.3 kB / 0.5851 GB, free: 15.24 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.1452, allocations: 24 kB / 0.5851 GB, free: 15.21 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006903/0.1459, allocations: 191.5 kB / 0.5853 GB, free: 15.03 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.146, allocations: 95.69 kB / 0.5854 GB, free: 14.93 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.1461, allocations: 99.81 kB / 0.5855 GB, free: 14.84 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.1465, allocations: 306.9 kB / 0.5858 GB, free: 14.54 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.1465, allocations: 0 / 0.5858 GB, free: 14.54 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1465, allocations: 0 / 0.5858 GB, free: 14.54 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.1465, allocations: 0 / 0.5858 GB, free: 14.54 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006272/0.1472, allocations: 0.595 MB / 0.5863 GB, free: 13.92 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1472, allocations: 12.03 kB / 0.5864 GB, free: 13.91 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.1475, allocations: 153.9 kB / 0.5865 GB, free: 13.74 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1478, allocations: 260.5 kB / 0.5867 GB, free: 13.46 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1478, allocations: 21.03 kB / 0.5868 GB, free: 13.44 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1479, allocations: 28.12 kB / 0.5868 GB, free: 13.41 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.1482, allocations: 256.5 kB / 0.587 GB, free: 13.13 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1482, allocations: 3.984 kB / 0.587 GB, free: 13.13 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.1482, allocations: 16 kB / 0.5871 GB, free: 13.11 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1482, allocations: 4 kB / 0.5871 GB, free: 13.11 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.1483, allocations: 83.83 kB / 0.5871 GB, free: 13.03 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/0.1492, allocations: 0.9685 MB / 0.5881 GB, free: 12.01 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1493, allocations: 105.3 kB / 0.5882 GB, free: 11.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.1494, allocations: 35.67 kB / 0.5882 GB, free: 11.86 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002119/0.1496, allocations: 47.88 kB / 0.5883 GB, free: 11.81 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1496, allocations: 38.55 kB / 0.5883 GB, free: 11.77 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 2.013e-06/0.1496, allocations: 0 / 0.5883 GB, free: 11.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.0003001/0.1499, allocations: 115.6 kB / 0.5884 GB, free: 11.65 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.15, allocations: 51.41 kB / 0.5885 GB, free: 11.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1501, allocations: 221 kB / 0.5887 GB, free: 11.36 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1501, allocations: 29.7 kB / 0.5887 GB, free: 11.33 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.1502, allocations: 172.6 kB / 0.5889 GB, free: 11.16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1502, allocations: 43.58 kB / 0.5889 GB, free: 11.11 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1503, allocations: 41.64 kB / 0.589 GB, free: 11.07 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.1504, allocations: 334.7 kB / 0.5893 GB, free: 10.73 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.1504, allocations: 26.75 kB / 0.5893 GB, free: 10.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.1505, allocations: 142.9 kB / 0.5894 GB, free: 10.53 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.1506, allocations: 96.61 kB / 0.5895 GB, free: 10.41 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1506, allocations: 0 / 0.5895 GB, free: 10.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001264/0.1507, allocations: 104.3 kB / 0.5896 GB, free: 10.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1507, allocations: 8 kB / 0.5896 GB, free: 10.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1507, allocations: 160 / 0.5896 GB, free: 10.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1508, allocations: 4 kB / 0.5896 GB, free: 10.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1509, allocations: 39.92 kB / 0.5897 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1509, allocations: 4 kB / 0.5897 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.55e-05/0.1509, allocations: 19.88 kB / 0.5897 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.1509, allocations: 11.94 kB / 0.5897 GB, free: 10.22 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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 7.746e-05/0.151, allocations: 120.6 kB / 0.5898 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.151, allocations: 11.98 kB / 0.5898 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.1512, allocations: 99.42 kB / 0.5899 GB, free: 9.977 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1512, allocations: 0 / 0.5899 GB, free: 9.977 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1512, allocations: 4.047 kB / 0.5899 GB, free: 9.973 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1512, allocations: 7.969 kB / 0.5899 GB, free: 9.965 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.1516, allocations: 499.9 kB / 0.5904 GB, free: 9.422 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1516, allocations: 0 / 0.5904 GB, free: 9.422 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.1517, allocations: 27.98 kB / 0.5904 GB, free: 9.395 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.1517, allocations: 23.86 kB / 0.5905 GB, free: 9.371 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1517, allocations: 12.16 kB / 0.5905 GB, free: 9.359 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.1517, allocations: 4 kB / 0.5905 GB, free: 9.355 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1517, allocations: 0 / 0.5905 GB, free: 9.355 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1517, allocations: 7.938 kB / 0.5905 GB, free: 9.348 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.1519, allocations: 297 kB / 0.5908 GB, free: 9.012 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1519, allocations: 11.94 kB / 0.5908 GB, free: 9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.152, allocations: 4 kB / 0.5908 GB, free: 8.996 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.152, allocations: 19.92 kB / 0.5908 GB, free: 8.977 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.152, allocations: 4 kB / 0.5908 GB, free: 8.973 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.1521, allocations: 74.77 kB / 0.5909 GB, free: 8.895 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1521, allocations: 4 kB / 0.5909 GB, free: 8.891 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002257/0.1523, allocations: 79.78 kB / 0.591 GB, free: 8.812 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.000203/0.1525, allocations: 120.2 kB / 0.5911 GB, free: 8.688 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1526, allocations: 66.27 kB / 0.5911 GB, free: 8.621 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.1526, allocations: 4.469 kB / 0.5911 GB, free: 8.617 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.1527, allocations: 52.72 kB / 0.5912 GB, free: 8.562 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.1532, allocations: 0.6354 MB / 0.5918 GB, free: 7.809 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.1553, allocations: 0.5228 MB / 0.5923 GB, free: 7.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.078e-05/0.1553, allocations: 108.3 kB / 0.5924 GB, free: 7.105 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 8.026e-05/0.1554, allocations: 30.12 kB / 0.5925 GB, free: 7.078 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.1556, allocations: 103.3 kB / 0.5926 GB, free: 6.977 MB / 0.573 GB Notification: Performance of SimCode: time 8.92e-07/0.1556, allocations: 0 / 0.5926 GB, free: 6.977 MB / 0.573 GB Notification: Performance of Templates: time 0.005965/0.1615, allocations: 4.122 MB / 0.5966 GB, free: 2.965 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.707606985233724]