Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",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.001041/0.001041, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007164/0.007164, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1822/0.1822, allocations: 22.35 MB / 313.8 MB, free: 13.03 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003146, allocations: 8 kB / 382.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2372, allocations: 55.97 MB / 438.7 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.00168/0.2389, allocations: 1.943 MB / 440.6 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000369/0.2393, allocations: 209.5 kB / 440.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2394, allocations: 2.469 kB / 440.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.2395, allocations: 20.62 kB / 440.8 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.2396, allocations: 61.62 kB / 440.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.2398, allocations: 37.19 kB / 440.9 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2399, allocations: 209 kB / 441.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.2401, allocations: 85.14 kB / 441.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.2402, allocations: 86.28 kB / 441.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2404, allocations: 76.17 kB / 441.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.2404, allocations: 8.375 kB / 441.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.61e-05/0.2404, allocations: 10.88 kB / 441.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.2404, allocations: 29.19 kB / 441.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.074e-05/0.2405, allocations: 114.5 kB / 441.5 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.2407, allocations: 192.4 kB / 441.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2407, allocations: 0 / 441.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2407, allocations: 0 / 441.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2407, allocations: 0 / 441.7 MB, free: 37.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0004211/0.2411, allocations: 449.1 kB / 442.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2412, allocations: 14.75 kB / 442.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.2412, allocations: 51.56 kB / 442.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.2412, allocations: 21.25 kB / 442.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.2414, allocations: 227 kB / 442.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2414, allocations: 9.75 kB / 442.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.2415, allocations: 15.47 kB / 442.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.2417, allocations: 121.1 kB / 442.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2417, allocations: 3.938 kB / 442.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.2417, allocations: 8 kB / 442.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.2417, allocations: 5.125 kB / 442.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.2419, allocations: 83.19 kB / 442.7 MB, free: 36.42 MB / 350.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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.2426, allocations: 0.6564 MB / 443.4 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.2427, allocations: 51.17 kB / 443.4 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.2428, allocations: 22.48 kB / 443.4 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.2428, allocations: 0 / 443.4 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.168e-05/0.2428, allocations: 37.03 kB / 443.5 MB, free: 35.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2428, allocations: 4 kB / 443.5 MB, free: 35.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.243, allocations: 80.48 kB / 443.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.2431, allocations: 51.41 kB / 443.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.2432, allocations: 225.9 kB / 443.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.2432, allocations: 28.64 kB / 443.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.2433, allocations: 151.1 kB / 444 MB, free: 35.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.2433, allocations: 22.92 kB / 444 MB, free: 35.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.2434, allocations: 16.97 kB / 444 MB, free: 35.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.089e-05/0.2434, allocations: 328.4 kB / 444.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.2435, allocations: 24.3 kB / 444.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.2435, allocations: 47.12 kB / 444.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.2438, allocations: 104.5 kB / 444.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2438, allocations: 2.781 kB / 444.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001622/0.2439, allocations: 106.6 kB / 444.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.244, allocations: 3.875 kB / 444.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.244, allocations: 3.562 kB / 444.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.244, allocations: 0 / 444.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.2443, allocations: 39.05 kB / 444.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2443, allocations: 2.969 kB / 444.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.2444, allocations: 26.2 kB / 444.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2444, allocations: 3.094 kB / 444.7 MB, free: 34.76 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, 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: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001153/0.2445, allocations: 130.6 kB / 444.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.2445, allocations: 16.69 kB / 444.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.2446, allocations: 15.7 kB / 444.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2446, allocations: 3.031 kB / 444.9 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2446, allocations: 4 kB / 444.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2446, allocations: 3.938 kB / 444.9 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.2451, allocations: 412.6 kB / 445.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2451, allocations: 2.906 kB / 445.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.094e-05/0.2452, allocations: 13.52 kB / 445.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2452, allocations: 0 / 445.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.2452, allocations: 4.031 kB / 445.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2452, allocations: 7.844 kB / 445.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2452, allocations: 0 / 445.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.2454, allocations: 194.9 kB / 445.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.2454, allocations: 93.89 kB / 445.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.2454, allocations: 7.938 kB / 445.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2455, allocations: 6.969 kB / 445.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.2456, allocations: 0 / 445.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.2456, allocations: 3.938 kB / 445.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.2457, allocations: 166.4 kB / 445.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2457, allocations: 0 / 445.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.246, allocations: 40.84 kB / 445.8 MB, free: 33.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0002903/0.2463, allocations: 0.7315 MB / 446.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.2464, allocations: 51.44 kB / 446.6 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2464, allocations: 0 / 446.6 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.2464, allocations: 17 kB / 446.6 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.2468, allocations: 40.05 kB / 446.7 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.2485, allocations: 2.066 MB / 448.7 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2486, allocations: 0.7282 MB / 449.5 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.497e-05/0.2487, allocations: 11.72 kB / 449.5 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.2488, allocations: 54.92 kB / 449.5 MB, free: 30.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2488, allocations: 4 kB / 449.5 MB, free: 30.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2356/0.4844, allocations: 3.06 MB / 452.6 MB, free: 30.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.4846, allocations: 178.6 kB / 452.8 MB, free: 30.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.183, allocations: 0 / 452.8 MB, free: 30.22 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)