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/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.Coursework.OOM_Intro.HelloWorld_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",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.005294/0.005294, allocations: 100.9 kB / 15.73 MB, free: 6.031 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.001143/0.001143, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2565/0.2565, allocations: 22.35 MB / 312.9 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 65.19 kB / 436.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1474, allocations: 54.96 MB / 491.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001555/0.149, allocations: 0.5145 MB / 492 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000164/0.1492, allocations: 42.91 kB / 492.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.1493, allocations: 0 / 492.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1493, allocations: 0 / 492.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.836e-05/0.1493, allocations: 0 / 492.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.1495, allocations: 7.984 kB / 492.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.1496, allocations: 11.94 kB / 492.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.1496, allocations: 4 kB / 492.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.1496, allocations: 0 / 492.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.1497, allocations: 15.92 kB / 492.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1497, allocations: 0 / 492.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-06/0.1497, allocations: 0 / 492.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.1497, allocations: 3.984 kB / 492.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.1498, allocations: 0 / 492.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.213e-05/0.1498, allocations: 11.92 kB / 492.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1498, allocations: 0 / 492.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1498, allocations: 3.938 kB / 492.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1499, allocations: 0 / 492.1 MB, free: 1.133 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003072/0.1502, allocations: 323.6 kB / 492.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1502, allocations: 12.03 kB / 492.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.284e-05/0.1502, allocations: 30.75 kB / 492.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.092e-05/0.1503, allocations: 0.9375 kB / 492.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.1503, allocations: 164.3 kB / 492.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1503, allocations: 384 / 492.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.1504, allocations: 4.375 kB / 492.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.418e-05/0.1504, allocations: 38.19 kB / 492.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.1505, allocations: 7.938 kB / 492.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.1505, allocations: 0 / 492.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1505, allocations: 4 kB / 492.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.1505, allocations: 3.984 kB / 492.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.1506, allocations: 153.7 kB / 492.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.536e-05/0.1507, allocations: 22.61 kB / 492.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.1507, allocations: 8.922 kB / 492.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1507, allocations: 0 / 492.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.1507, allocations: 38.5 kB / 492.9 MB, free: 168 kB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.1507, allocations: 4 kB / 492.9 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002797/0.151, allocations: 65.61 kB / 493 MB, free: 92 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1511, allocations: 51.41 kB / 493 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.1512, allocations: 97.8 kB / 493.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1512, allocations: 33.69 kB / 493.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.1512, allocations: 84.14 kB / 493.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1512, allocations: 12.91 kB / 493.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1513, allocations: 25.66 kB / 493.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1514, allocations: 310.8 kB / 493.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.1514, allocations: 7.984 kB / 493.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.1514, allocations: 4 kB / 493.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.1515, allocations: 16.86 kB / 493.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1515, allocations: 0 / 493.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.047e-05/0.1516, allocations: 41.69 kB / 493.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1516, allocations: 13.81 kB / 493.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1516, allocations: 4 kB / 493.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1516, allocations: 0 / 493.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.1517, allocations: 15.92 kB / 493.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1517, allocations: 0 / 493.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.1517, allocations: 8 kB / 493.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1518, allocations: 0 / 493.7 MB, free: 15.32 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.1518, allocations: 114.6 kB / 493.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.1519, allocations: 3.938 kB / 493.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.152, allocations: 57.12 kB / 493.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.152, allocations: 4 kB / 493.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.152, allocations: 0 / 493.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.152, allocations: 0 / 493.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1521, allocations: 157.7 kB / 494 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1521, allocations: 0 / 494 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.1522, allocations: 11.92 kB / 494 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1522, allocations: 7.938 kB / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.1522, allocations: 0 / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1522, allocations: 0 / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1522, allocations: 0 / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.01e-05/0.1523, allocations: 73.36 kB / 494.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.1523, allocations: 81.05 kB / 494.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.1524, allocations: 48 / 494.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/0.1524, allocations: 7.984 kB / 494.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.1524, allocations: 0 / 494.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1524, allocations: 3.984 kB / 494.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.936e-05/0.1525, allocations: 79.28 kB / 494.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1525, allocations: 4.094 kB / 494.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.1526, allocations: 0 / 494.3 MB, free: 14.62 MB / 366.1 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 (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.0003436/0.153, allocations: 0.6122 MB / 494.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.1531, allocations: 15.98 kB / 494.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1531, allocations: 0 / 494.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.1531, allocations: 19.94 kB / 494.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1533, allocations: 3.938 kB / 494.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.1536, allocations: 118.6 kB / 495.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.1538, allocations: 0.6729 MB / 495.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.271e-05/0.1538, allocations: 7.984 kB / 495.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.1539, allocations: 11.44 kB / 495.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1539, allocations: 0 / 495.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.1697, allocations: 1.027 MB / 496.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.347, allocations: 16.75 kB / 496.8 MB, free: 12.09 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_inverse_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_OOM_Intro_HelloWorld_inverse.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)