Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_PI_awfb_full.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.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") translateModel(AES.Devel_test_models.Test_digital_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_digital_PI_awfb_full") [/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.09438/0.09438, allocations: 21.61 MB / 37.41 MB, free: 0.7578 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.001079/0.001079, allocations: 188.4 kB / 43.63 MB, free: 3.562 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.297/1.297, allocations: 205.1 MB / 254.8 MB, free: 14.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.0009825/0.0009826, allocations: 94.3 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 57.89 kB / 370.3 MB, free: 60.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0834/0.08447, allocations: 51.97 MB / 422.2 MB, free: 16.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002713/0.08722, allocations: 1.788 MB / 424 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005351/0.08778, allocations: 264 kB / 424.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.08792, allocations: 4 kB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.08809, allocations: 11.86 kB / 424.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.08824, allocations: 27.8 kB / 424.3 MB, free: 14.47 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.08839, allocations: 47.97 kB / 424.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.08854, allocations: 159.6 kB / 424.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.08868, allocations: 75.66 kB / 424.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.08874, allocations: 51.78 kB / 424.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.08883, allocations: 75.59 kB / 424.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.08887, allocations: 12 kB / 424.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.08889, allocations: 8 kB / 424.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.08892, allocations: 23.86 kB / 424.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.665e-05/0.089, allocations: 75.59 kB / 424.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.08912, allocations: 127.5 kB / 425 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.08913, allocations: 3.984 kB / 425 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.08914, allocations: 0 / 425 MB, free: 13.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.08915, allocations: 0 / 425 MB, free: 13.82 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004585/0.08962, allocations: 490.5 kB / 425.5 MB, free: 13.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.08965, allocations: 8.031 kB / 425.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.08971, allocations: 20.75 kB / 425.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.08987, allocations: 216.8 kB / 425.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.08991, allocations: 16.38 kB / 425.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.08994, allocations: 16.38 kB / 425.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.09026, allocations: 165.8 kB / 425.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.09028, allocations: 192 / 425.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.09031, allocations: 7.938 kB / 425.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.09032, allocations: 4 kB / 425.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.09061, allocations: 103.9 kB / 426 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.09123, allocations: 472.1 kB / 426.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.09146, allocations: 166.5 kB / 426.6 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.09165, allocations: 132.8 kB / 426.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.09168, allocations: 8 kB / 426.8 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.09197, allocations: 153 kB / 426.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.09198, allocations: 0 / 426.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006981/0.09269, allocations: 367.1 kB / 427.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.09274, allocations: 122.8 kB / 427.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.09281, allocations: 134 kB / 427.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.09283, allocations: 33.7 kB / 427.6 MB, free: 11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.09288, allocations: 120.3 kB / 427.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.09292, allocations: 55.3 kB / 427.7 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.09298, allocations: 45.7 kB / 427.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.09303, allocations: 326.8 kB / 428.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.09319, allocations: 63.94 kB / 428.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.09336, allocations: 126.1 kB / 428.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.09369, allocations: 284.5 kB / 428.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.0937, allocations: 4 kB / 428.6 MB, free: 9.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004436/0.09415, allocations: 308.9 kB / 428.9 MB, free: 9.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.0942, allocations: 71.42 kB / 428.9 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.09421, allocations: 11.92 kB / 428.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.09423, allocations: 0 / 428.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.09438, allocations: 27.92 kB / 429 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.09439, allocations: 4 kB / 429 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.09454, allocations: 31.81 kB / 429 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.09456, allocations: 8 kB / 429 MB, free: 9.426 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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 9.26e-05/0.09466, allocations: 183.7 kB / 429.2 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.09469, allocations: 15.81 kB / 429.2 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/0.09523, allocations: 336.4 kB / 429.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.09524, allocations: 4 kB / 429.5 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.09525, allocations: 4 kB / 429.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.09526, allocations: 0 / 429.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.0954, allocations: 245.4 kB / 429.8 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.09541, allocations: 4 kB / 429.8 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.09553, allocations: 19.97 kB / 429.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.09554, allocations: 0 / 429.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.09557, allocations: 11.94 kB / 429.8 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.09557, allocations: 0 / 429.8 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.09558, allocations: 0 / 429.8 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.09898, allocations: 2.549 MB / 432.4 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.09902, allocations: 92.94 kB / 432.5 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.09905, allocations: 12.12 kB / 432.5 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.0992, allocations: 23.98 kB / 432.5 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.09928, allocations: 19.95 kB / 432.5 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.0993, allocations: 8 kB / 432.5 MB, free: 5.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.648e-05/0.09934, allocations: 95.27 kB / 432.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09934, allocations: 0 / 432.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.09967, allocations: 75.88 kB / 432.7 MB, free: 5.492 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.649e-05/0.09977, allocations: 123.2 kB / 432.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.1003, allocations: 362.5 kB / 433.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1003, allocations: 0.5 kB / 433.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.1006, allocations: 291.3 kB / 433.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.1008, allocations: 16 kB / 433.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006828/0.1015, allocations: 0.633 MB / 434.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.1016, allocations: 0.732 MB / 434.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.403e-05/0.1017, allocations: 12.64 kB / 434.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.1017, allocations: 15.44 kB / 434.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1018, allocations: 0 / 434.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of Templates: time 0.003965/0.1057, allocations: 2.248 MB / 437.1 MB, free: 0.957 MB / 298.7 MB make -j1 -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.makefile (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_digital_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)