Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",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.008636/0.008636, allocations: 99.11 kB / 15.73 MB, free: 6.051 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.002087/0.002087, allocations: 202 kB / 16.68 MB, free: 5.965 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2239/0.2239, allocations: 22.35 MB / 312.9 MB, free: 12.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 63.12 kB / 434.4 MB, free: 35.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1169, allocations: 54.96 MB / 489.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002242/0.1192, allocations: 1.478 MB / 490.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007836/0.12, allocations: 498.8 kB / 491.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.12, allocations: 0 / 491.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1204, allocations: 23.86 kB / 491.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1205, allocations: 31.83 kB / 491.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.1207, allocations: 51.88 kB / 491.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1208, allocations: 115.8 kB / 491.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.121, allocations: 12 kB / 491.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.121, allocations: 51.77 kB / 491.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.1212, allocations: 63.8 kB / 491.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1212, allocations: 4 kB / 491.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.1212, allocations: 12 kB / 491.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.1213, allocations: 31.91 kB / 491.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.1214, allocations: 39.67 kB / 491.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1215, allocations: 79.64 kB / 491.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1215, allocations: 4 kB / 491.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1215, allocations: 0 / 491.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1215, allocations: 0 / 491.9 MB, free: 1.391 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007767/0.1223, allocations: 443 kB / 492.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1224, allocations: 12.03 kB / 492.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.1224, allocations: 38.73 kB / 492.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1225, allocations: 12.84 kB / 492.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1228, allocations: 246.7 kB / 492.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1228, allocations: 384 / 492.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1229, allocations: 12.38 kB / 492.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.123, allocations: 73.78 kB / 492.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.123, allocations: 4 kB / 492.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.123, allocations: 0 / 492.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.123, allocations: 0 / 492.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1231, allocations: 59.89 kB / 492.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.1237, allocations: 372.7 kB / 493.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1238, allocations: 82.52 kB / 493.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.1239, allocations: 40.95 kB / 493.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1239, allocations: 3.938 kB / 493.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.124, allocations: 30.56 kB / 493.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.124, allocations: 0 / 493.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002919/0.1243, allocations: 125.6 kB / 493.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1243, allocations: 59.39 kB / 493.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1247, allocations: 187.5 kB / 493.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1247, allocations: 25.7 kB / 493.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1249, allocations: 104.1 kB / 493.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1249, allocations: 27.78 kB / 493.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.125, allocations: 17.72 kB / 493.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1251, allocations: 334.7 kB / 494.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.541e-05/0.1252, allocations: 27.98 kB / 494.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-05/0.1253, allocations: 31.97 kB / 494.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1254, allocations: 73.06 kB / 494.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1254, allocations: 4 kB / 494.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001673/0.1256, allocations: 105.6 kB / 494.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1256, allocations: 4 kB / 494.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1256, allocations: 3.984 kB / 494.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1256, allocations: 0 / 494.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.1258, allocations: 27.92 kB / 494.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1259, allocations: 4 kB / 494.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.126, allocations: 15.94 kB / 494.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.126, allocations: 8 kB / 494.4 MB, free: 14.59 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 (8): * Single equations (assignments): 8 * 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.0001101/0.1261, allocations: 126.5 kB / 494.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.1262, allocations: 7.953 kB / 494.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.1262, allocations: 20.66 kB / 494.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1262, allocations: 0 / 494.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1262, allocations: 0 / 494.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1262, allocations: 4 kB / 494.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.1268, allocations: 398.4 kB / 495 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1268, allocations: 0 / 495 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.1269, allocations: 15.98 kB / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1269, allocations: 0 / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1269, allocations: 4 kB / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1269, allocations: 3.938 kB / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1269, allocations: 0 / 495 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1272, allocations: 243.5 kB / 495.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.1273, allocations: 89.03 kB / 495.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.1273, allocations: 3.984 kB / 495.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.1275, allocations: 15.92 kB / 495.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1275, allocations: 4 kB / 495.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1275, allocations: 128 / 495.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.1278, allocations: 158.5 kB / 495.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1278, allocations: 0 / 495.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1281, allocations: 16 kB / 495.5 MB, free: 13.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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.0005985/0.1287, allocations: 0.7631 MB / 496.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1289, allocations: 71.95 kB / 496.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1289, allocations: 0 / 496.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.1289, allocations: 35.97 kB / 496.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1292, allocations: 19.88 kB / 496.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.1317, allocations: 1.779 MB / 498.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1321, allocations: 0.708 MB / 498.9 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.1322, allocations: 16.42 kB / 498.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.1322, allocations: 31.61 kB / 498.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1323, allocations: 0 / 498.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.1588, allocations: 2.43 MB / 0.4896 GB, free: 7.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/7.855, allocations: 10.59 kB / 0.4896 GB, free: 7.473 MB / 366.1 MB (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_SOPDT_overdamped_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)