Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.00134/0.00134, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001547/0.001547, allocations: 177 kB / 23.35 MB, free: 1.133 MB / 18.57 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.9286/0.9286, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.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.8254/0.8254, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 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. " [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.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 480.1 MB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.374e-05, allocations: 7 kB / 480.1 MB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01127/0.01129, allocations: 12.99 MB / 493.1 MB, free: 9.984 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.01343, allocations: 2.821 MB / 495.9 MB, free: 7.172 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.01351, allocations: 4 kB / 495.9 MB, free: 7.168 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.01378, allocations: 43.69 kB / 495.9 MB, free: 7.125 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.01402, allocations: 95.3 kB / 496 MB, free: 7.031 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009297/0.01495, allocations: 0.5428 MB / 496.6 MB, free: 6.492 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.01527, allocations: 246 kB / 496.8 MB, free: 6.254 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.01531, allocations: 14.47 kB / 496.8 MB, free: 6.242 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/0.02106, allocations: 3.648 MB / 0.4887 GB, free: 2.605 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.02121, allocations: 79.77 kB / 0.4888 GB, free: 2.527 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.02123, allocations: 8 kB / 0.4888 GB, free: 2.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.02288, allocations: 1.039 MB / 0.4898 GB, free: 1.492 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.02294, allocations: 39.83 kB / 0.4899 GB, free: 1.453 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.023, allocations: 70.31 kB / 0.4899 GB, free: 1.387 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004801/0.02348, allocations: 366.8 kB / 0.4903 GB, free: 1.027 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.02349, allocations: 0 / 0.4903 GB, free: 1.027 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02349, allocations: 0 / 0.4903 GB, free: 1.027 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.02349, allocations: 4 kB / 0.4903 GB, free: 1.023 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005774/0.02407, allocations: 417.1 kB / 0.4907 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.0241, allocations: 12.03 kB / 0.4907 GB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.02422, allocations: 40.78 kB / 0.4907 GB, free: 0.543 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.02438, allocations: 157.5 kB / 0.4909 GB, free: 372 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.02439, allocations: 17.73 kB / 0.4909 GB, free: 356 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.02441, allocations: 20.38 kB / 0.4909 GB, free: 336 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.02467, allocations: 407.8 kB / 0.4913 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.02468, allocations: 192 / 0.4913 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.0247, allocations: 20.11 kB / 0.4913 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.02473, allocations: 8 kB / 0.4913 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.02495, allocations: 240.4 kB / 0.4916 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.0256, allocations: 0.6947 MB / 0.4922 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.02577, allocations: 158.7 kB / 0.4924 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.02581, allocations: 37.5 kB / 0.4924 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/0.02633, allocations: 480.7 kB / 0.4929 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.02636, allocations: 34.56 kB / 0.4929 GB, free: 14.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.02636, allocations: 0 / 0.4929 GB, free: 14.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.000179/0.02654, allocations: 136.5 kB / 0.4931 GB, free: 14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.02656, allocations: 56.38 kB / 0.4931 GB, free: 13.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.02665, allocations: 166.5 kB / 0.4933 GB, free: 13.76 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.02666, allocations: 30.3 kB / 0.4933 GB, free: 13.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.02672, allocations: 144 kB / 0.4934 GB, free: 13.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.02674, allocations: 56.11 kB / 0.4935 GB, free: 13.53 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.02679, allocations: 53.64 kB / 0.4935 GB, free: 13.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.02687, allocations: 335.4 kB / 0.4939 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.0269, allocations: 19.38 kB / 0.4939 GB, free: 13.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.02697, allocations: 125.7 kB / 0.494 GB, free: 12.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.0271, allocations: 187.1 kB / 0.4942 GB, free: 12.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.0271, allocations: 6.156 kB / 0.4942 GB, free: 12.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001686/0.02727, allocations: 158.2 kB / 0.4943 GB, free: 12.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.02729, allocations: 4 kB / 0.4943 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.0273, allocations: 4 kB / 0.4943 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.02732, allocations: 12.91 kB / 0.4943 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.02746, allocations: 63.84 kB / 0.4944 GB, free: 12.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.02746, allocations: 5.438 kB / 0.4944 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.02752, allocations: 27.78 kB / 0.4944 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.02753, allocations: 12 kB / 0.4945 GB, free: 12.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.872e-05/0.02761, allocations: 129.9 kB / 0.4946 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.02764, allocations: 15.98 kB / 0.4946 GB, free: 12.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.02782, allocations: 121.8 kB / 0.4947 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.02783, allocations: 4 kB / 0.4947 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.02783, allocations: 0.75 kB / 0.4947 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.02783, allocations: 0 / 0.4947 GB, free: 12.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.02797, allocations: 107 kB / 0.4948 GB, free: 12.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.02797, allocations: 3.938 kB / 0.4948 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.02803, allocations: 27.98 kB / 0.4948 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.02803, allocations: 1.562 kB / 0.4948 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.02804, allocations: 8 kB / 0.4949 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02804, allocations: 0 / 0.4949 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.02805, allocations: 8.688 kB / 0.4949 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.02819, allocations: 227.4 kB / 0.4951 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.02823, allocations: 32.73 kB / 0.4951 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.02825, allocations: 4 kB / 0.4951 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.02833, allocations: 8 kB / 0.4951 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.02835, allocations: 9.734 kB / 0.4951 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.02837, allocations: 11.98 kB / 0.4951 GB, free: 11.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.0284, allocations: 32.28 kB / 0.4952 GB, free: 11.65 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0284, allocations: 0 / 0.4952 GB, free: 11.65 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002744/0.02868, allocations: 88.75 kB / 0.4953 GB, free: 11.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003231/0.029, allocations: 170 kB / 0.4954 GB, free: 11.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000522/0.02952, allocations: 101 kB / 0.4955 GB, free: 11.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.02953, allocations: 6.344 kB / 0.4955 GB, free: 11.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.02956, allocations: 36.78 kB / 0.4956 GB, free: 11.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.02981, allocations: 47.89 kB / 0.4956 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007075/0.03052, allocations: 335.3 kB / 0.4959 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.03056, allocations: 68 kB / 0.496 GB, free: 10.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.03067, allocations: 48.8 kB / 0.496 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.03083, allocations: 122.5 kB / 0.4962 GB, free: 10.63 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03083, allocations: 0 / 0.4962 GB, free: 10.63 MB / 474.7 MB Notification: Performance of Templates: time 0.005637/0.03647, allocations: 3.76 MB / 0.4998 GB, free: 7.098 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7010682681575418]