Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") [/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.1024/0.1024, allocations: 21.46 MB / 36.42 MB, free: 1.129 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 178.7 kB / 42.64 MB, free: 3.992 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 254.1 MB, free: 15.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007904/0.0007904, allocations: 76.94 kB / 307.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 8.812 kB / 373.3 MB, free: 59.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08711/0.08746, allocations: 52.96 MB / 426.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0005502/0.08805, allocations: 248.8 kB / 426.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001363/0.0882, allocations: 31.84 kB / 426.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.08823, allocations: 0 / 426.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.839e-06/0.08826, allocations: 4 kB / 426.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.08829, allocations: 7.938 kB / 426.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.08843, allocations: 3.984 kB / 426.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.166e-05/0.08848, allocations: 4 kB / 426.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.08853, allocations: 0 / 426.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.08856, allocations: 11.94 kB / 426.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.08862, allocations: 3.984 kB / 426.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.08864, allocations: 0 / 426.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.08866, allocations: 0 / 426.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.08867, allocations: 4 kB / 426.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.0887, allocations: 25.7 kB / 426.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.123e-05/0.08874, allocations: 3.984 kB / 426.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.08875, allocations: 4 kB / 426.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08876, allocations: 0 / 426.6 MB, free: 12.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.08877, allocations: 0 / 426.6 MB, free: 12.65 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00031/0.08909, allocations: 319.4 kB / 426.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.08913, allocations: 8.031 kB / 426.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.08916, allocations: 4 kB / 426.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.233e-05/0.08924, allocations: 174.9 kB / 427 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.08926, allocations: 0 / 427 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.08929, allocations: 7.953 kB / 427.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.612e-05/0.08937, allocations: 29.7 kB / 427.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.08938, allocations: 0 / 427.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.0894, allocations: 0 / 427.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.08941, allocations: 0 / 427.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.08944, allocations: 7.984 kB / 427.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.08955, allocations: 149.7 kB / 427.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.532e-05/0.08961, allocations: 30.5 kB / 427.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.08963, allocations: 15.44 kB / 427.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.08966, allocations: 7.938 kB / 427.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.08967, allocations: 30.56 kB / 427.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.08968, allocations: 0 / 427.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002869/0.08997, allocations: 69.55 kB / 427.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.09, allocations: 55.41 kB / 427.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.493e-05/0.09004, allocations: 98.05 kB / 427.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.231e-06/0.09006, allocations: 25.7 kB / 427.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.139e-05/0.09007, allocations: 84.14 kB / 427.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.09009, allocations: 7.812 kB / 427.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.0901, allocations: 0 / 427.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.116e-05/0.09015, allocations: 318.8 kB / 428 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.09017, allocations: 4 kB / 428 MB, free: 11.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.034e-05/0.09018, allocations: 4 kB / 428 MB, free: 11.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.772e-05/0.09021, allocations: 4 kB / 428 MB, free: 11.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.09021, allocations: 8.062 kB / 428 MB, free: 11.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.687e-05/0.09028, allocations: 53.58 kB / 428 MB, free: 10.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.0903, allocations: 4 kB / 428 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.0903, allocations: 4 kB / 428 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.09032, allocations: 0 / 428 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.0904, allocations: 7.984 kB / 428.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.09041, allocations: 0 / 428.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.09044, allocations: 4 kB / 428.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.09045, allocations: 0 / 428.1 MB, free: 10.93 MB / 298.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.209e-05/0.0905, allocations: 114.7 kB / 428.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.09051, allocations: 7.953 kB / 428.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.615e-05/0.09061, allocations: 53.12 kB / 428.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.09063, allocations: 0 / 428.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.09063, allocations: 0 / 428.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.09064, allocations: 4 kB / 428.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.681e-05/0.0907, allocations: 149.7 kB / 428.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.09071, allocations: 4 kB / 428.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.09076, allocations: 7.984 kB / 428.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.09078, allocations: 8 kB / 428.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.09079, allocations: 3.953 kB / 428.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.09079, allocations: 4 kB / 428.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.0908, allocations: 0 / 428.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.699e-05/0.09087, allocations: 69.12 kB / 428.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.0909, allocations: 77.11 kB / 428.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.09091, allocations: 0 / 428.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.09094, allocations: 7.891 kB / 428.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.09097, allocations: 15.92 kB / 428.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.09097, allocations: 0 / 428.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.091, allocations: 75.28 kB / 428.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.091, allocations: 0 / 428.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.09118, allocations: 8 kB / 428.7 MB, free: 10.23 MB / 298.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 (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 Backend phase and start with SimCode phase: time 6.111e-05/0.09124, allocations: 95.03 kB / 428.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.935e-05/0.09132, allocations: 16.27 kB / 428.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.09133, allocations: 4 kB / 428.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.09135, allocations: 8.188 kB / 428.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.09148, allocations: 0 / 428.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001744/0.09166, allocations: 102.7 kB / 428.9 MB, free: 9.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.09176, allocations: 0.677 MB / 429.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.225e-05/0.09179, allocations: 0 / 429.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.09181, allocations: 15.42 kB / 429.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09182, allocations: 7.938 kB / 429.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of Templates: time 0.00162/0.09345, allocations: 224.5 kB / 429.8 MB, free: 9.027 MB / 298.7 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld_inverse -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)