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.007277/0.007277, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001189/0.001189, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2085/0.2085, allocations: 22.35 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 61.16 kB / 434.4 MB, free: 35.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1183, allocations: 54.96 MB / 489.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002165/0.1205, allocations: 1.474 MB / 490.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000736/0.1213, allocations: 498.8 kB / 491.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.1214, allocations: 3.938 kB / 491.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.1217, allocations: 27.84 kB / 491.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1218, allocations: 19.86 kB / 491.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.122, allocations: 55.86 kB / 491.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1221, allocations: 115.8 kB / 491.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.1222, allocations: 11.98 kB / 491.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.1223, allocations: 59.75 kB / 491.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1225, allocations: 59.8 kB / 491.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.1225, allocations: 12 kB / 491.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1225, allocations: 4 kB / 491.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.1226, allocations: 31.91 kB / 491.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.1226, allocations: 39.73 kB / 491.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.1227, allocations: 79.64 kB / 491.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1227, allocations: 4 kB / 491.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1227, allocations: 0 / 491.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1228, allocations: 0 / 491.9 MB, free: 1.504 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.0007244/0.1235, allocations: 447.8 kB / 492.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1235, allocations: 11.97 kB / 492.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.771e-05/0.1236, allocations: 42.73 kB / 492.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1236, allocations: 8.844 kB / 492.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.124, allocations: 228.1 kB / 492.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.124, allocations: 12.31 kB / 492.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.124, allocations: 8.375 kB / 492.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1241, allocations: 73.78 kB / 492.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1242, allocations: 0 / 492.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1242, allocations: 0 / 492.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1242, allocations: 4 kB / 492.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.1243, allocations: 55.95 kB / 492.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.1248, allocations: 376.6 kB / 493.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1249, allocations: 74.55 kB / 493.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.726e-05/0.125, allocations: 40.95 kB / 493.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.125, allocations: 4.031 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.125, allocations: 38.5 kB / 493.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.125, allocations: 0 / 493.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002786/0.1253, allocations: 125.6 kB / 493.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1254, allocations: 51.41 kB / 493.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.1257, allocations: 187.7 kB / 493.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1257, allocations: 25.7 kB / 493.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.1258, allocations: 112 kB / 493.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.1258, allocations: 19.7 kB / 493.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.1259, allocations: 21.72 kB / 493.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.126, allocations: 330.8 kB / 494.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.1261, allocations: 23.98 kB / 494.1 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.1261, allocations: 35.91 kB / 494.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1263, allocations: 76.81 kB / 494.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1263, allocations: 0 / 494.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001496/0.1264, allocations: 105.8 kB / 494.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1264, allocations: 4 kB / 494.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1265, allocations: 4 kB / 494.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1265, allocations: 7.984 kB / 494.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.1267, allocations: 27.98 kB / 494.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1267, allocations: 7.922 kB / 494.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1268, allocations: 19.83 kB / 494.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1268, allocations: 3.938 kB / 494.4 MB, free: 14.71 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.0001031/0.127, allocations: 134.5 kB / 494.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.127, allocations: 7.906 kB / 494.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.127, allocations: 12.72 kB / 494.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.127, allocations: 0 / 494.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1271, allocations: 4 kB / 494.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1271, allocations: 0 / 494.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.1275, allocations: 402.4 kB / 495 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1275, allocations: 0 / 495 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.1276, allocations: 8 kB / 495 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1276, allocations: 0 / 495 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1277, allocations: 7.984 kB / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1277, allocations: 3.938 kB / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1277, allocations: 4 kB / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1279, allocations: 227.3 kB / 495.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.128, allocations: 88.98 kB / 495.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.128, allocations: 11.94 kB / 495.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1282, allocations: 19.91 kB / 495.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.1282, allocations: 0 / 495.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.1282, allocations: 0 / 495.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002395/0.1285, allocations: 159.3 kB / 495.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1285, allocations: 4 kB / 495.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1287, allocations: 12 kB / 495.5 MB, free: 13.52 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.0004885/0.1292, allocations: 0.7594 MB / 496.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1294, allocations: 67.94 kB / 496.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1294, allocations: 0 / 496.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.1294, allocations: 31.98 kB / 496.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1297, allocations: 26.58 kB / 496.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.1319, allocations: 1.78 MB / 498.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1322, allocations: 0.7041 MB / 498.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.306e-05/0.1322, allocations: 24.36 kB / 498.9 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.1323, allocations: 27.42 kB / 498.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1323, allocations: 0 / 498.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1568, allocations: 2.431 MB / 0.4896 GB, free: 7.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/7.287, allocations: 15.86 kB / 0.4896 GB, free: 7.586 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)