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.0008255/0.0008257, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.0008196/0.0008196, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1713/0.1713, allocations: 22.35 MB / 313.3 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002613, allocations: 15.98 kB / 379.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.224, allocations: 55.97 MB / 435.9 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001078/0.2252, allocations: 1.168 MB / 437 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004995/0.2257, allocations: 480.2 kB / 437.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.2257, allocations: 2.938 kB / 437.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.2259, allocations: 21.05 kB / 437.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.226, allocations: 24.36 kB / 437.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2262, allocations: 39.48 kB / 437.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.2263, allocations: 68.97 kB / 437.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.2263, allocations: 17.41 kB / 437.7 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.2264, allocations: 52.2 kB / 437.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.2265, allocations: 49.34 kB / 437.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2265, allocations: 2.875 kB / 437.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.2265, allocations: 6 kB / 437.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.2266, allocations: 31.12 kB / 437.8 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.2266, allocations: 40.48 kB / 437.9 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.114e-05/0.2267, allocations: 64.64 kB / 437.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.2267, allocations: 0 / 437.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2267, allocations: 0 / 437.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.2267, allocations: 0 / 437.9 MB, free: 36.93 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.0005873/0.2273, allocations: 430.3 kB / 438.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.2273, allocations: 8.844 kB / 438.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.2274, allocations: 42 kB / 438.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.2274, allocations: 11.59 kB / 438.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.2277, allocations: 235.3 kB / 438.6 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-06/0.2277, allocations: 2.969 kB / 438.6 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.2278, allocations: 6.469 kB / 438.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.2279, allocations: 73.53 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2279, allocations: 6.484 kB / 438.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2279, allocations: 0 / 438.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2279, allocations: 0 / 438.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.228, allocations: 57.86 kB / 438.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.2284, allocations: 369.8 kB / 439.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.729e-05/0.2285, allocations: 73.3 kB / 439.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2285, allocations: 3.938 kB / 439.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.066e-05/0.2286, allocations: 33.12 kB / 439.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2286, allocations: 0 / 439.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001951/0.2288, allocations: 125.4 kB / 439.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.2288, allocations: 51.41 kB / 439.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.229, allocations: 199.2 kB / 439.6 MB, free: 35.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.2291, allocations: 29.64 kB / 439.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.2291, allocations: 109.2 kB / 439.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.2291, allocations: 18.72 kB / 439.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.2291, allocations: 0 / 439.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.2292, allocations: 321.2 kB / 440.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.2292, allocations: 29.45 kB / 440.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.2293, allocations: 37.69 kB / 440.2 MB, free: 35.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/0.2293, allocations: 35.53 kB / 440.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2293, allocations: 0 / 440.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001199/0.2294, allocations: 107 kB / 440.3 MB, free: 35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.2295, allocations: 5.719 kB / 440.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.2295, allocations: 0 / 440.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.2295, allocations: 2.781 kB / 440.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2297, allocations: 24.67 kB / 440.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2297, allocations: 240 / 440.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.2298, allocations: 23.41 kB / 440.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2298, allocations: 3.906 kB / 440.4 MB, free: 34.98 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.2299, allocations: 124.1 kB / 440.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.2299, allocations: 10.36 kB / 440.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.2299, allocations: 21.58 kB / 440.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2299, allocations: 0 / 440.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2299, allocations: 0 / 440.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2299, allocations: 0 / 440.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2301, allocations: 201.2 kB / 440.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2301, allocations: 10.97 kB / 440.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.2302, allocations: 12.75 kB / 440.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2302, allocations: 3.953 kB / 440.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2302, allocations: 0 / 440.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2302, allocations: 3.984 kB / 440.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2302, allocations: 6.453 kB / 440.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.2304, allocations: 224.4 kB / 441 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.2304, allocations: 90.45 kB / 441 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2305, allocations: 12.02 kB / 441.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.2306, allocations: 15.48 kB / 441.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.2306, allocations: 2.5 kB / 441.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-06/0.2306, allocations: 0 / 441.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.2309, allocations: 159.1 kB / 441.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2309, allocations: 0 / 441.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.2311, allocations: 10.69 kB / 441.2 MB, free: 34.25 MB / 350.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 (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 0.0002719/0.2314, allocations: 0.7743 MB / 442 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2315, allocations: 61.05 kB / 442.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2315, allocations: 0 / 442.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.2315, allocations: 38.27 kB / 442.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.2317, allocations: 17.92 kB / 442.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.233, allocations: 0.8528 MB / 443 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2331, allocations: 0.7104 MB / 443.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.562e-05/0.2332, allocations: 21.34 kB / 443.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.2332, allocations: 29.19 kB / 443.7 MB, free: 32.27 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.2332, allocations: 0 / 443.7 MB, free: 32.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8258/1.059, allocations: 2.187 MB / 445.9 MB, free: 32.08 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/1.059, allocations: 159.3 kB / 446.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.217/4.276, allocations: 0 / 446.1 MB, free: 31.84 MB / 350.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/linux/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) Environment - environmentSimulation: