Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.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.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",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.004697/0.004697, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001304/0.001304, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1895/0.1895, allocations: 22.35 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.62 kB / 436.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08888, allocations: 54.97 MB / 491.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.001985/0.0909, allocations: 1.603 MB / 493.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000684/0.0916, allocations: 466.9 kB / 493.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.09167, allocations: 0 / 493.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.09185, allocations: 27.78 kB / 493.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.09201, allocations: 75.64 kB / 493.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.09219, allocations: 31.94 kB / 493.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.0926, allocations: 419.1 kB / 494.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.09285, allocations: 144.9 kB / 494.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.09308, allocations: 167.6 kB / 494.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.09334, allocations: 191.5 kB / 494.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.09339, allocations: 28 kB / 494.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-05/0.09345, allocations: 28 kB / 494.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.09358, allocations: 143.7 kB / 494.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.09376, allocations: 167.3 kB / 495 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.0941, allocations: 383.8 kB / 495.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.09411, allocations: 0 / 495.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09412, allocations: 0 / 495.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.09414, allocations: 0 / 495.4 MB, free: 13.95 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00133/0.09547, allocations: 0.6863 MB / 496.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.09552, allocations: 12.03 kB / 496.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.0956, allocations: 62.72 kB / 496.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.09568, allocations: 32.5 kB / 496.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.09606, allocations: 275.9 kB / 496.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.09609, allocations: 16.94 kB / 496.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.09617, allocations: 32.36 kB / 496.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.09671, allocations: 385 kB / 496.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.09673, allocations: 0 / 496.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.09676, allocations: 8 kB / 496.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.09678, allocations: 8 kB / 496.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.09714, allocations: 239.8 kB / 497.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.09915, allocations: 1.76 MB / 498.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.09974, allocations: 437.1 kB / 499.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.09995, allocations: 152.3 kB / 499.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.09998, allocations: 4 kB / 499.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1, allocations: 38.55 kB / 499.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.1, allocations: 0 / 499.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007643/0.1008, allocations: 437.9 kB / 499.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.1009, allocations: 174.1 kB / 0.4884 GB, free: 8.824 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1011, allocations: 202.8 kB / 0.4885 GB, free: 8.617 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1011, allocations: 29.7 kB / 0.4886 GB, free: 8.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.1012, allocations: 152 kB / 0.4887 GB, free: 8.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/0.1013, allocations: 110.5 kB / 0.4888 GB, free: 8.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1014, allocations: 78.05 kB / 0.4889 GB, free: 8.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1015, allocations: 338.8 kB / 0.4892 GB, free: 7.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.1018, allocations: 172.8 kB / 0.4894 GB, free: 7.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.1021, allocations: 277.1 kB / 0.4897 GB, free: 7.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.1026, allocations: 472.5 kB / 0.4901 GB, free: 6.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1026, allocations: 0 / 0.4901 GB, free: 6.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006569/0.1033, allocations: 0.501 MB / 0.4906 GB, free: 6.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1033, allocations: 8 kB / 0.4906 GB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1033, allocations: 4 kB / 0.4906 GB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1033, allocations: 4 kB / 0.4906 GB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.1039, allocations: 143.8 kB / 0.4907 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.1039, allocations: 15.88 kB / 0.4908 GB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.1041, allocations: 39.67 kB / 0.4908 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.1041, allocations: 20 kB / 0.4908 GB, free: 6.168 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (50): * Single equations (assignments): 50 * 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.0001467/0.1043, allocations: 182.5 kB / 0.491 GB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.1044, allocations: 19.72 kB / 0.491 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.914e-05/0.1045, allocations: 44.94 kB / 0.4911 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1045, allocations: 4.219 kB / 0.4911 GB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1045, allocations: 3.938 kB / 0.4911 GB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1045, allocations: 7.922 kB / 0.4911 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.1051, allocations: 401.2 kB / 0.4915 GB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1051, allocations: 3.938 kB / 0.4915 GB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.1057, allocations: 127.9 kB / 0.4916 GB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1057, allocations: 4 kB / 0.4916 GB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.1058, allocations: 16 kB / 0.4916 GB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.1058, allocations: 8.438 kB / 0.4916 GB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1058, allocations: 7.922 kB / 0.4916 GB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.1065, allocations: 0.7959 MB / 0.4924 GB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.1066, allocations: 100.9 kB / 0.4925 GB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.1066, allocations: 19.98 kB / 0.4925 GB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.1069, allocations: 15.98 kB / 0.4925 GB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.107, allocations: 27.84 kB / 0.4925 GB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.107, allocations: 4 kB / 0.4926 GB, free: 4.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1071, allocations: 147.2 kB / 0.4927 GB, free: 4.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1071, allocations: 0 / 0.4927 GB, free: 4.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005126/0.1076, allocations: 103.8 kB / 0.4928 GB, free: 4.051 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (wall.T[1,1],wall.T[1,2],wall.T[1,3],wall.T[2,1],wall.T[2,2],wall.T[2,3],wall.T[3,1],wall.T[3,2],wall.T[3,3],wall.T[4,1],wall.T[4,2],wall.T[4,3],wall.T[5,1],wall.T[5,2],wall.T[5,3]) * 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 (25): * Single equations (assignments): 25 * 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.0009614/0.1086, allocations: 1.353 MB / 0.4941 GB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005352/0.1092, allocations: 372.4 kB / 0.4945 GB, free: 2.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1092, allocations: 0 / 0.4945 GB, free: 2.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.1094, allocations: 143.8 kB / 0.4946 GB, free: 2.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.1101, allocations: 89.12 kB / 0.4947 GB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.1149, allocations: 4.545 MB / 0.4991 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1152, allocations: 0.7872 MB / 0.4999 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.1155, allocations: 154.1 kB / 0.5 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.1157, allocations: 83.42 kB / 0.5001 GB, free: 12.31 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1157, allocations: 0 / 0.5001 GB, free: 12.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.1401, allocations: 7.355 MB / 0.5073 GB, free: 5.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.726, allocations: 11.39 kB / 0.5073 GB, free: 5.059 MB / 382.1 MB (rm -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Liquid_TubeWall_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Liquid_TubeWall.fmu > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)