Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessBlocks.FOPDT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1015/0.1015, allocations: 21.62 MB / 36.57 MB, free: 1.078 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 186.4 kB / 42.83 MB, free: 3.781 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 272.1 MB, free: 1.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008616/0.0008617, allocations: 102.8 kB / 328.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 12 kB / 395.1 MB, free: 48.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 55.82 MB / 450.9 MB, free: 8.578 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3709/0.4784, allocations: 78.32 MB / 0.5168 GB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.4787, allocations: 58.58 kB / 0.5169 GB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003144/0.4818, allocations: 1.499 MB / 0.5184 GB, free: 11.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4818, allocations: 0 / 0.5184 GB, free: 11.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4818, allocations: 7.844 kB / 0.5184 GB, free: 11.5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002691/0.4821, allocations: 349 kB / 0.5187 GB, free: 11.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.4822, allocations: 11.34 kB / 0.5187 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.4822, allocations: 41.12 kB / 0.5188 GB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.4822, allocations: 7.438 kB / 0.5188 GB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.4824, allocations: 173.7 kB / 0.5189 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4824, allocations: 7.188 kB / 0.5189 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4824, allocations: 0 / 0.5189 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.4825, allocations: 46.05 kB / 0.519 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4825, allocations: 0 / 0.519 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.4825, allocations: 3.953 kB / 0.519 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4826, allocations: 3.875 kB / 0.519 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.4826, allocations: 13.92 kB / 0.519 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.4829, allocations: 264.3 kB / 0.5192 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.463e-05/0.4829, allocations: 29.52 kB / 0.5193 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.483, allocations: 0 / 0.5193 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.483, allocations: 37.91 kB / 0.5193 GB, free: 10.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.483, allocations: 0 / 0.5193 GB, free: 10.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.000134/0.4831, allocations: 47.55 kB / 0.5194 GB, free: 10.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.4832, allocations: 51.41 kB / 0.5194 GB, free: 10.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.4832, allocations: 112.3 kB / 0.5195 GB, free: 10.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.4832, allocations: 25.7 kB / 0.5195 GB, free: 10.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.4833, allocations: 102 kB / 0.5196 GB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.4833, allocations: 3.906 kB / 0.5196 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.4833, allocations: 3.812 kB / 0.5196 GB, free: 10.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.4833, allocations: 314.3 kB / 0.5199 GB, free: 9.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.4834, allocations: 6.719 kB / 0.52 GB, free: 9.867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.4834, allocations: 7.5 kB / 0.52 GB, free: 9.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.65e-05/0.4834, allocations: 3.719 kB / 0.52 GB, free: 9.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4834, allocations: 0 / 0.52 GB, free: 9.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.986e-05/0.4835, allocations: 54.56 kB / 0.52 GB, free: 9.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.4835, allocations: 7.844 kB / 0.52 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4835, allocations: 0 / 0.52 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.4835, allocations: 0 / 0.52 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.376e-05/0.4836, allocations: 3.844 kB / 0.52 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4836, allocations: 3.938 kB / 0.52 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.4836, allocations: 6.891 kB / 0.52 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4836, allocations: 0 / 0.52 GB, free: 9.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.4837, allocations: 109.2 kB / 0.5201 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.4837, allocations: 11.84 kB / 0.5201 GB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.4837, allocations: 15.08 kB / 0.5202 GB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4837, allocations: 0 / 0.5202 GB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4837, allocations: 0 / 0.5202 GB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4837, allocations: 7.781 kB / 0.5202 GB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.4839, allocations: 163.5 kB / 0.5203 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4839, allocations: 0 / 0.5203 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.4839, allocations: 7.562 kB / 0.5203 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4839, allocations: 0 / 0.5203 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.484, allocations: 3.953 kB / 0.5203 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.484, allocations: 0 / 0.5203 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.484, allocations: 0 / 0.5203 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.4841, allocations: 150.7 kB / 0.5205 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.4841, allocations: 77.11 kB / 0.5206 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.4841, allocations: 3.844 kB / 0.5206 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.4842, allocations: 3.953 kB / 0.5206 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.4842, allocations: 2.203 kB / 0.5206 GB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.4842, allocations: 0 / 0.5206 GB, free: 9.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.281e-05/0.4843, allocations: 101 kB / 0.5207 GB, free: 9.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4843, allocations: 0 / 0.5207 GB, free: 9.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.4845, allocations: 11.59 kB / 0.5207 GB, free: 9.172 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pr.y) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.4847, allocations: 0.6747 MB / 0.5213 GB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.114e-05/0.4848, allocations: 7.781 kB / 0.5213 GB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4848, allocations: 7.844 kB / 0.5213 GB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.4848, allocations: 11.16 kB / 0.5214 GB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.485, allocations: 10.23 kB / 0.5214 GB, free: 8.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.4855, allocations: 445 kB / 0.5218 GB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.4857, allocations: 0.6854 MB / 0.5225 GB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.756e-05/0.4857, allocations: 3.844 kB / 0.5225 GB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.4857, allocations: 16.64 kB / 0.5225 GB, free: 7.445 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4857, allocations: 0 / 0.5225 GB, free: 7.445 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.4977, allocations: 1.191 MB / 0.5236 GB, free: 7.297 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001173/0.4978, allocations: 144.2 kB / 0.5238 GB, free: 7.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.021, allocations: 0 / 0.5238 GB, free: 7.074 MB / 362.7 MB (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1)