Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007736/0.007736, allocations: 103.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09672/0.09672, allocations: 22.33 MB / 312.9 MB, free: 8.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 63.89 kB / 436.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1594, allocations: 54.95 MB / 491.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.004621/0.1641, allocations: 1.956 MB / 493.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004763/0.1646, allocations: 155.4 kB / 493.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1647, allocations: 3.938 kB / 493.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.1649, allocations: 19.8 kB / 493.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1651, allocations: 51.53 kB / 493.7 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1654, allocations: 35.84 kB / 493.7 MB, free: 3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.1657, allocations: 167.1 kB / 493.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.1661, allocations: 85.34 kB / 494 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1662, allocations: 63.72 kB / 494 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1664, allocations: 79.64 kB / 494.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.1665, allocations: 12 kB / 494.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.134e-05/0.1665, allocations: 8 kB / 494.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1665, allocations: 31.84 kB / 494.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1667, allocations: 75.61 kB / 494.2 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1669, allocations: 155.7 kB / 494.4 MB, free: 2.332 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.167, allocations: 0 / 494.4 MB, free: 2.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.167, allocations: 0 / 494.4 MB, free: 2.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.167, allocations: 0 / 494.4 MB, free: 2.332 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000757/0.1677, allocations: 446.8 kB / 494.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.1678, allocations: 8.031 kB / 494.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.1679, allocations: 42.73 kB / 494.9 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.1679, allocations: 16.75 kB / 494.9 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.1684, allocations: 212.7 kB / 495.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1684, allocations: 8.375 kB / 495.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.1685, allocations: 16.28 kB / 495.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1688, allocations: 115.9 kB / 495.2 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1688, allocations: 7.938 kB / 495.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1688, allocations: 4 kB / 495.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1689, allocations: 4 kB / 495.2 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.169, allocations: 63.91 kB / 495.3 MB, free: 1.297 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1702, allocations: 0.7884 MB / 496.1 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1704, allocations: 42.58 kB / 496.1 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.1705, allocations: 24.88 kB / 496.2 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.1705, allocations: 7.875 kB / 496.2 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.1706, allocations: 30.56 kB / 496.2 MB, free: 280 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 6.291e-06/0.1706, allocations: 4 kB / 496.2 MB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004053/0.1711, allocations: 77.48 kB / 496.3 MB, free: 192 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1711, allocations: 55.41 kB / 496.3 MB, free: 124 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1714, allocations: 191.9 kB / 496.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1714, allocations: 25.7 kB / 496.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1715, allocations: 127.9 kB / 496.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.1715, allocations: 11.81 kB / 496.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.1716, allocations: 17.72 kB / 496.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1718, allocations: 330.8 kB / 497 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.1718, allocations: 11.98 kB / 497 MB, free: 15.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-05/0.1719, allocations: 29.66 kB / 497.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.1723, allocations: 81.73 kB / 497.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1723, allocations: 0 / 497.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002009/0.1726, allocations: 97.38 kB / 497.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1726, allocations: 4 kB / 497.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1726, allocations: 4 kB / 497.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1726, allocations: 192 / 497.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1728, allocations: 15.98 kB / 497.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1728, allocations: 0 / 497.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1729, allocations: 11.84 kB / 497.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1729, allocations: 7.984 kB / 497.3 MB, free: 15.12 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 7 * 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 0.0002009/0.1731, allocations: 129.8 kB / 497.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.1732, allocations: 11.84 kB / 497.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.1732, allocations: 12.94 kB / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1732, allocations: 0 / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1732, allocations: 0 / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.1733, allocations: 4 kB / 497.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.1737, allocations: 209.5 kB / 497.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1737, allocations: 3.984 kB / 497.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1738, allocations: 8 kB / 497.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1738, allocations: 4 kB / 497.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1738, allocations: 8 kB / 497.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1739, allocations: 64 / 497.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.1739, allocations: 4 kB / 497.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1742, allocations: 187.2 kB / 497.8 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.1743, allocations: 92.94 kB / 497.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.1743, allocations: 0 / 497.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1745, allocations: 3.938 kB / 497.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.1745, allocations: 4.062 kB / 497.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1745, allocations: 4 kB / 497.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1747, allocations: 149.5 kB / 498.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1747, allocations: 0 / 498.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.1751, allocations: 24 kB / 498.1 MB, free: 14.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * 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.0006289/0.1757, allocations: 0.7084 MB / 498.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1759, allocations: 39.92 kB / 498.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1759, allocations: 0 / 498.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.176, allocations: 15.98 kB / 498.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.1766, allocations: 24.05 kB / 498.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.1793, allocations: 1.788 MB / 0.489 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1797, allocations: 0.7084 MB / 0.4896 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.988e-05/0.1798, allocations: 13.44 kB / 0.4897 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.1799, allocations: 43.42 kB / 0.4897 GB, free: 10.71 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1799, allocations: 0 / 0.4897 GB, free: 10.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.2053, allocations: 3.058 MB / 0.4927 GB, free: 7.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/7.97, allocations: 8 kB / 0.4927 GB, free: 7.723 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_002_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)