Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04539/0.04539, allocations: 9.134 MB / 28.99 MB, free: 0.793 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008434/0.0008434, allocations: 98.3 kB / 35.33 MB, free: 1.055 MB / 24.77 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.0009712/0.0009712, allocations: 162.3 kB / 38.73 MB, free: 2.504 MB / 24.77 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.9564/0.9564, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006314/0.006314, allocations: 0.8224 MB / 276.5 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.675/1.675, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.195e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4693/0.4694, allocations: 146.1 MB / 0.7806 GB, free: 9.023 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.4712, allocations: 1.006 MB / 0.7816 GB, free: 8.031 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.4715, allocations: 19.81 kB / 0.7816 GB, free: 8.012 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.4718, allocations: 95.14 kB / 0.7817 GB, free: 7.918 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0008399/0.4726, allocations: 413.7 kB / 0.7821 GB, free: 7.512 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.4733, allocations: 343.2 kB / 0.7824 GB, free: 7.176 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.474, allocations: 0.7016 MB / 0.7831 GB, free: 6.473 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.4743, allocations: 211.2 kB / 0.7833 GB, free: 6.273 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.4748, allocations: 363.1 kB / 0.7837 GB, free: 5.918 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.4751, allocations: 231.3 kB / 0.7839 GB, free: 5.691 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.4751, allocations: 24 kB / 0.7839 GB, free: 5.668 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.4754, allocations: 195.5 kB / 0.7841 GB, free: 5.477 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.4755, allocations: 119.6 kB / 0.7842 GB, free: 5.359 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 9.521e-05/0.4756, allocations: 111.7 kB / 0.7843 GB, free: 5.25 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.476, allocations: 346.8 kB / 0.7846 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.476, allocations: 0 / 0.7846 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.293e-06/0.476, allocations: 0 / 0.7846 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4761, allocations: 0 / 0.7846 GB, free: 4.91 MB / 0.6824 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.0005395/0.4766, allocations: 0.5095 MB / 0.7851 GB, free: 4.383 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.4766, allocations: 11.98 kB / 0.7852 GB, free: 4.371 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.4769, allocations: 84.69 kB / 0.7852 GB, free: 4.289 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.4772, allocations: 262.9 kB / 0.7855 GB, free: 4.012 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.4772, allocations: 24.59 kB / 0.7855 GB, free: 3.984 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.4772, allocations: 25.73 kB / 0.7855 GB, free: 3.961 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.4775, allocations: 244.5 kB / 0.7858 GB, free: 3.688 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4775, allocations: 8 kB / 0.7858 GB, free: 3.68 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4775, allocations: 8 kB / 0.7858 GB, free: 3.672 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4776, allocations: 11.98 kB / 0.7858 GB, free: 3.66 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.4776, allocations: 67.91 kB / 0.7859 GB, free: 3.594 MB / 0.6824 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.0009396/0.4786, allocations: 0.9806 MB / 0.7868 GB, free: 2.574 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.4787, allocations: 101.8 kB / 0.7869 GB, free: 2.465 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.4787, allocations: 31.67 kB / 0.7869 GB, free: 2.43 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.4789, allocations: 48.95 kB / 0.787 GB, free: 2.383 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.479, allocations: 31.38 kB / 0.787 GB, free: 2.344 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.479, allocations: 0 / 0.787 GB, free: 2.344 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13): time 0.0002839/0.4792, allocations: 124.8 kB / 0.7871 GB, free: 2.219 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.4793, allocations: 59.41 kB / 0.7872 GB, free: 2.148 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.4794, allocations: 221 kB / 0.7874 GB, free: 1.922 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.4794, allocations: 25.7 kB / 0.7874 GB, free: 1.891 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.4795, allocations: 180.6 kB / 0.7876 GB, free: 1.711 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4795, allocations: 47.56 kB / 0.7876 GB, free: 1.664 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.4796, allocations: 37.69 kB / 0.7877 GB, free: 1.621 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.4797, allocations: 338.8 kB / 0.788 GB, free: 1.281 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.4797, allocations: 16.84 kB / 0.788 GB, free: 1.266 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.4798, allocations: 134.2 kB / 0.7881 GB, free: 1.098 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.208e-05/0.4799, allocations: 95.67 kB / 0.7882 GB, free: 0.9844 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.4799, allocations: 4 kB / 0.7882 GB, free: 0.9805 MB / 0.6824 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001261/0.48, allocations: 105.7 kB / 0.7883 GB, free: 0.8711 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.48, allocations: 4 kB / 0.7883 GB, free: 0.8672 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.48, allocations: 8.844 kB / 0.7884 GB, free: 0.8594 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4801, allocations: 0 / 0.7884 GB, free: 0.8594 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.4802, allocations: 35.92 kB / 0.7884 GB, free: 0.8242 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.4802, allocations: 0 / 0.7884 GB, free: 0.8242 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.4802, allocations: 19.89 kB / 0.7884 GB, free: 0.8047 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4802, allocations: 5.75 kB / 0.7884 GB, free: 0.8008 MB / 0.6824 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 8.303e-05/0.4803, allocations: 128.6 kB / 0.7885 GB, free: 0.6641 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.4804, allocations: 15.98 kB / 0.7886 GB, free: 0.6484 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.4805, allocations: 99.36 kB / 0.7886 GB, free: 0.543 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4805, allocations: 0.6875 kB / 0.7886 GB, free: 0.543 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.4805, allocations: 4 kB / 0.7887 GB, free: 0.5391 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4805, allocations: 7.938 kB / 0.7887 GB, free: 0.5312 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.4809, allocations: 488.6 kB / 0.7891 GB, free: 0 / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4809, allocations: 0 / 0.7891 GB, free: 0 / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.481, allocations: 27.92 kB / 0.7892 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.481, allocations: 9.719 kB / 0.7892 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.481, allocations: 8 kB / 0.7892 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.481, allocations: 4.547 kB / 0.7892 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.481, allocations: 4.688 kB / 0.7892 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.4812, allocations: 292.4 kB / 0.7895 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.4812, allocations: 27.8 kB / 0.7895 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.4812, allocations: 11.92 kB / 0.7895 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.066e-05/0.4813, allocations: 8 kB / 0.7895 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.4813, allocations: 11.92 kB / 0.7895 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.4813, allocations: 8 kB / 0.7895 GB, free: 15.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.4814, allocations: 74.77 kB / 0.7896 GB, free: 15.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.4814, allocations: 0 / 0.7896 GB, free: 15.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000228/0.4816, allocations: 91.77 kB / 0.7897 GB, free: 15.39 MB / 0.698 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.0001769/0.4818, allocations: 103.1 kB / 0.7898 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.4819, allocations: 72.7 kB / 0.7898 GB, free: 15.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4819, allocations: 320 / 0.7898 GB, free: 15.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.482, allocations: 46.03 kB / 0.7899 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.4823, allocations: 101.9 kB / 0.79 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.4831, allocations: 0.5007 MB / 0.7905 GB, free: 14.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.165e-05/0.4831, allocations: 104.2 kB / 0.7906 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.015e-05/0.4832, allocations: 32.64 kB / 0.7906 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.4834, allocations: 107.3 kB / 0.7907 GB, free: 14.27 MB / 0.698 GB Notification: Performance of SimCode: time 8.41e-07/0.4834, allocations: 0 / 0.7907 GB, free: 14.27 MB / 0.698 GB Notification: Performance of Templates: time 0.006113/0.4895, allocations: 3.985 MB / 0.7946 GB, free: 10.5 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.889043695293367]