Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.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.07314/0.07314, allocations: 9.128 MB / 28.99 MB, free: 344 kB / 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.0008335/0.0008335, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001091/0.001091, allocations: 169.9 kB / 38.73 MB, free: 2.402 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.061/1.061, 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.01129/0.01129, allocations: 0.8256 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.791/1.791, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy") translateModel(AixLib.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.107e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Sensors.Examples.SpecificEntropy): time 0.52/0.52, allocations: 145.5 MB / 0.78 GB, free: 9.676 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.5222, allocations: 2.133 MB / 0.7821 GB, free: 7.551 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.5224, allocations: 19.81 kB / 0.7821 GB, free: 7.531 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.5227, allocations: 67.42 kB / 0.7821 GB, free: 7.465 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0009012/0.5236, allocations: 0.5713 MB / 0.7827 GB, free: 6.891 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006533/0.5242, allocations: 439.6 kB / 0.7831 GB, free: 6.461 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.5247, allocations: 0.5727 MB / 0.7837 GB, free: 5.887 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.5249, allocations: 163.5 kB / 0.7838 GB, free: 5.73 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.5252, allocations: 311.1 kB / 0.7841 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.5256, allocations: 263.9 kB / 0.7844 GB, free: 5.168 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.5256, allocations: 16 kB / 0.7844 GB, free: 5.152 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.5261, allocations: 474.6 kB / 0.7849 GB, free: 4.688 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.5262, allocations: 95.72 kB / 0.7849 GB, free: 4.594 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.5263, allocations: 87.81 kB / 0.785 GB, free: 4.508 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0004571/0.5267, allocations: 466.6 kB / 0.7855 GB, free: 4.051 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.5267, allocations: 0 / 0.7855 GB, free: 4.051 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5267, allocations: 0 / 0.7855 GB, free: 4.051 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5267, allocations: 0 / 0.7855 GB, free: 4.051 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004965/0.5272, allocations: 477.3 kB / 0.7859 GB, free: 3.566 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5273, allocations: 11.98 kB / 0.7859 GB, free: 3.555 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.5276, allocations: 108.5 kB / 0.786 GB, free: 3.449 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.5279, allocations: 228 kB / 0.7863 GB, free: 3.203 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.5279, allocations: 12.38 kB / 0.7863 GB, free: 3.191 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.5279, allocations: 23.94 kB / 0.7863 GB, free: 3.168 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.5282, allocations: 214.9 kB / 0.7865 GB, free: 2.93 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5282, allocations: 1.219 kB / 0.7865 GB, free: 2.93 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5282, allocations: 12 kB / 0.7865 GB, free: 2.918 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5283, allocations: 4 kB / 0.7865 GB, free: 2.914 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.5283, allocations: 77.98 kB / 0.7866 GB, free: 2.832 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.5291, allocations: 0.989 MB / 0.7876 GB, free: 1.793 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.5292, allocations: 336.5 kB / 0.7879 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.5293, allocations: 71.58 kB / 0.7879 GB, free: 1.328 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.5295, allocations: 55.94 kB / 0.788 GB, free: 1.273 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.5295, allocations: 38.69 kB / 0.788 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.5295, allocations: 0 / 0.788 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13): time 0.0002449/0.5298, allocations: 110 kB / 0.7881 GB, free: 1.113 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.5298, allocations: 170.1 kB / 0.7883 GB, free: 0.9102 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5299, allocations: 190.5 kB / 0.7885 GB, free: 0.7109 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5299, allocations: 29.7 kB / 0.7885 GB, free: 0.6758 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.53, allocations: 148.3 kB / 0.7887 GB, free: 0.5273 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.53, allocations: 47.56 kB / 0.7887 GB, free: 492 kB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.5301, allocations: 45.64 kB / 0.7887 GB, free: 440 kB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.5302, allocations: 327.3 kB / 0.7891 GB, free: 104 kB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.5302, allocations: 20.84 kB / 0.7891 GB, free: 84 kB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.5303, allocations: 187.4 kB / 0.7893 GB, free: 15.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.764e-05/0.5304, allocations: 122.2 kB / 0.7894 GB, free: 15.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5304, allocations: 0 / 0.7894 GB, free: 15.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001509/0.5305, allocations: 133.4 kB / 0.7895 GB, free: 15.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.5305, allocations: 4 kB / 0.7895 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5305, allocations: 4 kB / 0.7895 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5306, allocations: 0 / 0.7895 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.5306, allocations: 35.92 kB / 0.7895 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5307, allocations: 7.938 kB / 0.7895 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.5307, allocations: 17.62 kB / 0.7896 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.5307, allocations: 20.23 kB / 0.7896 GB, free: 15.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.045e-05/0.5308, allocations: 124.6 kB / 0.7897 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.5309, allocations: 23.86 kB / 0.7897 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.5311, allocations: 122.6 kB / 0.7898 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5311, allocations: 0 / 0.7898 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5311, allocations: 8.438 kB / 0.7899 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5311, allocations: 0 / 0.7899 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.5315, allocations: 0.687 MB / 0.7905 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5315, allocations: 4 kB / 0.7905 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.5316, allocations: 27.88 kB / 0.7906 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5316, allocations: 4.172 kB / 0.7906 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.5316, allocations: 8 kB / 0.7906 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5316, allocations: 4.562 kB / 0.7906 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5316, allocations: 0 / 0.7906 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.5317, allocations: 280.7 kB / 0.7908 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.5318, allocations: 27.83 kB / 0.7909 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.5318, allocations: 1.25 kB / 0.7909 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-05/0.5319, allocations: 8 kB / 0.7909 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.5319, allocations: 15.97 kB / 0.7909 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.5319, allocations: 3.938 kB / 0.7909 GB, free: 14.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.5319, allocations: 69.7 kB / 0.791 GB, free: 13.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.5319, allocations: 0 / 0.791 GB, free: 13.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000225/0.5322, allocations: 95.7 kB / 0.791 GB, free: 13.86 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senStr.s) * 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 (11): * Single equations (assignments): 11 * 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.0002276/0.5324, allocations: 144.7 kB / 0.7912 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.5325, allocations: 72.69 kB / 0.7913 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5325, allocations: 7.875 kB / 0.7913 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.5325, allocations: 32.72 kB / 0.7913 GB, free: 13.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.5328, allocations: 85.62 kB / 0.7914 GB, free: 13.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.5334, allocations: 471.1 kB / 0.7918 GB, free: 13.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.067e-05/0.5335, allocations: 88.3 kB / 0.7919 GB, free: 12.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.195e-05/0.5336, allocations: 35.86 kB / 0.7919 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.5337, allocations: 105.3 kB / 0.792 GB, free: 12.79 MB / 0.698 GB Notification: Performance of SimCode: time 6.02e-07/0.5337, allocations: 0 / 0.792 GB, free: 12.79 MB / 0.698 GB Notification: Performance of Templates: time 0.005964/0.5397, allocations: 4.295 MB / 0.7962 GB, free: 8.695 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.sim & ./AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.340340617578477]