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.08253/0.08253, allocations: 9.129 MB / 28.99 MB, free: 0.8203 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.001014/0.001014, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001201/0.001201, allocations: 164.7 kB / 38.73 MB, free: 2.492 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 1.02/1.02, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.01125/0.01125, allocations: 0.8188 MB / 276.5 MB, free: 0.7148 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.664/1.664, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.794e-06/1.794e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.032e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5035/0.5036, allocations: 146.1 MB / 0.7805 GB, free: 9.098 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.5054, allocations: 1.007 MB / 0.7815 GB, free: 8.102 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.5056, allocations: 19.81 kB / 0.7815 GB, free: 8.082 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.5059, allocations: 91.2 kB / 0.7816 GB, free: 7.992 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.000834/0.5068, allocations: 413.7 kB / 0.782 GB, free: 7.586 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.5074, allocations: 347.2 kB / 0.7823 GB, free: 7.246 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0007012/0.5081, allocations: 0.7016 MB / 0.783 GB, free: 6.543 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.5085, allocations: 215.2 kB / 0.7832 GB, free: 6.34 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.509, allocations: 382.9 kB / 0.7836 GB, free: 5.965 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.5092, allocations: 228 kB / 0.7838 GB, free: 5.742 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.5093, allocations: 24 kB / 0.7838 GB, free: 5.719 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.5096, allocations: 187.5 kB / 0.784 GB, free: 5.535 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.5097, allocations: 123.6 kB / 0.7841 GB, free: 5.414 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.5098, allocations: 107.8 kB / 0.7842 GB, free: 5.309 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.5102, allocations: 346.8 kB / 0.7846 GB, free: 4.969 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5102, allocations: 0 / 0.7846 GB, free: 4.969 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5102, allocations: 0 / 0.7846 GB, free: 4.969 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.5102, allocations: 0 / 0.7846 GB, free: 4.969 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.0005869/0.5108, allocations: 0.5134 MB / 0.7851 GB, free: 4.438 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5108, allocations: 11.98 kB / 0.7851 GB, free: 4.426 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.5111, allocations: 80.73 kB / 0.7852 GB, free: 4.348 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.5114, allocations: 258.9 kB / 0.7854 GB, free: 4.074 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.5114, allocations: 24.59 kB / 0.7854 GB, free: 4.047 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.5114, allocations: 28.73 kB / 0.7855 GB, free: 4.02 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.5117, allocations: 240.6 kB / 0.7857 GB, free: 3.75 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5117, allocations: 11.94 kB / 0.7857 GB, free: 3.738 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.5117, allocations: 8 kB / 0.7857 GB, free: 3.73 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5117, allocations: 8 kB / 0.7857 GB, free: 3.723 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.5118, allocations: 73.34 kB / 0.7858 GB, free: 3.652 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.0008131/0.5126, allocations: 0.9716 MB / 0.7867 GB, free: 2.641 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.513, allocations: 111.4 kB / 0.7868 GB, free: 2.523 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.513, allocations: 27.67 kB / 0.7869 GB, free: 2.492 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.5132, allocations: 48.45 kB / 0.7869 GB, free: 2.445 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5133, allocations: 34.55 kB / 0.7869 GB, free: 2.402 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5133, allocations: 3.938 kB / 0.7869 GB, free: 2.398 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13): time 0.0002577/0.5135, allocations: 123.6 kB / 0.7871 GB, free: 2.273 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5136, allocations: 55.41 kB / 0.7871 GB, free: 2.207 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.5137, allocations: 221 kB / 0.7873 GB, free: 1.98 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.5137, allocations: 29.7 kB / 0.7874 GB, free: 1.945 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.5138, allocations: 172.6 kB / 0.7875 GB, free: 1.773 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.5138, allocations: 47.56 kB / 0.7876 GB, free: 1.727 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.5139, allocations: 37.69 kB / 0.7876 GB, free: 1.684 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.514, allocations: 342.8 kB / 0.7879 GB, free: 1.34 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.514, allocations: 12.86 kB / 0.7879 GB, free: 1.328 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.5141, allocations: 134.2 kB / 0.7881 GB, free: 1.16 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.5142, allocations: 87.97 kB / 0.7882 GB, free: 1.055 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5142, allocations: 4 kB / 0.7882 GB, free: 1.051 MB / 0.6824 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001249/0.5143, allocations: 110.2 kB / 0.7883 GB, free: 0.9375 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5143, allocations: 7.938 kB / 0.7883 GB, free: 0.9297 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5143, allocations: 8.859 kB / 0.7883 GB, free: 0.9219 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.5143, allocations: 0 / 0.7883 GB, free: 0.9219 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.5144, allocations: 32.8 kB / 0.7883 GB, free: 0.8906 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5144, allocations: 4 kB / 0.7883 GB, free: 0.8867 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.5145, allocations: 11.89 kB / 0.7883 GB, free: 0.875 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.5145, allocations: 15.98 kB / 0.7883 GB, free: 0.8594 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 7.453e-05/0.5146, allocations: 124.5 kB / 0.7885 GB, free: 0.7266 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.5146, allocations: 11.98 kB / 0.7885 GB, free: 0.7148 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.5147, allocations: 108.2 kB / 0.7886 GB, free: 0.6016 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5147, allocations: 0 / 0.7886 GB, free: 0.6016 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.5147, allocations: 4 kB / 0.7886 GB, free: 0.5977 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5147, allocations: 4.734 kB / 0.7886 GB, free: 0.5938 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.5151, allocations: 488.6 kB / 0.789 GB, free: 64 kB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5151, allocations: 4.875 kB / 0.7891 GB, free: 60 kB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.5152, allocations: 23.98 kB / 0.7891 GB, free: 36 kB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.5152, allocations: 12.09 kB / 0.7891 GB, free: 24 kB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.5152, allocations: 4 kB / 0.7891 GB, free: 20 kB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.5152, allocations: 7.984 kB / 0.7891 GB, free: 12 kB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5152, allocations: 0.8125 kB / 0.7891 GB, free: 12 kB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.5154, allocations: 293.7 kB / 0.7894 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.5154, allocations: 23.8 kB / 0.7894 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.5154, allocations: 11.92 kB / 0.7894 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.5155, allocations: 8 kB / 0.7894 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.5155, allocations: 12.83 kB / 0.7894 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5156, allocations: 8.5 kB / 0.7894 GB, free: 15.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5e-05/0.5156, allocations: 82.75 kB / 0.7895 GB, free: 15.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.5156, allocations: 0 / 0.7895 GB, free: 15.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002247/0.5158, allocations: 79.78 kB / 0.7896 GB, free: 15.46 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.00018/0.516, allocations: 109.3 kB / 0.7897 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.5161, allocations: 80.62 kB / 0.7898 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5161, allocations: 4.312 kB / 0.7898 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.5162, allocations: 36.73 kB / 0.7898 GB, free: 15.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.5165, allocations: 100.7 kB / 0.7899 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/0.5172, allocations: 0.5046 MB / 0.7904 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.975e-05/0.5173, allocations: 96.3 kB / 0.7905 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.754e-05/0.5174, allocations: 32.5 kB / 0.7905 GB, free: 14.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.5175, allocations: 107.3 kB / 0.7906 GB, free: 14.34 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.5175, allocations: 0 / 0.7906 GB, free: 14.34 MB / 0.698 GB Notification: Performance of Templates: time 0.00649/0.524, allocations: 3.982 MB / 0.7945 GB, free: 10.56 MB / 0.698 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.146443825215101]