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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 100.3 kB / 19.72 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 206.9 kB / 23.01 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1087/0.1087, allocations: 24.04 MB / 337.2 MB, free: 11.31 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.91 kB / 471.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.341, allocations: 59.56 MB / 0.5186 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002715/0.3437, allocations: 1.485 MB / 0.52 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.3446, allocations: 499.5 kB / 0.5205 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.3447, allocations: 5.375 kB / 0.5205 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.3449, allocations: 21.42 kB / 0.5205 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.345, allocations: 30 kB / 0.5206 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.3453, allocations: 55.42 kB / 0.5206 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.3455, allocations: 143 kB / 0.5207 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3456, allocations: 15.94 kB / 0.5208 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3457, allocations: 50.05 kB / 0.5208 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3459, allocations: 66.36 kB / 0.5209 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.3459, allocations: 6.531 kB / 0.5209 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.409e-05/0.3459, allocations: 14.72 kB / 0.5209 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.346, allocations: 32.27 kB / 0.5209 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.3461, allocations: 31.19 kB / 0.5209 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.3462, allocations: 80.2 kB / 0.521 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3462, allocations: 0.7031 kB / 0.521 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3462, allocations: 1.281 kB / 0.521 GB, free: 7.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3462, allocations: 0 / 0.521 GB, free: 7.586 MB / 382.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.0008721/0.3471, allocations: 369.8 kB / 0.5214 GB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3472, allocations: 11.56 kB / 0.5214 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.3472, allocations: 38.19 kB / 0.5214 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.3473, allocations: 13.75 kB / 0.5214 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.3477, allocations: 180.8 kB / 0.5216 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.3477, allocations: 7.062 kB / 0.5216 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3477, allocations: 9.078 kB / 0.5216 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3478, allocations: 77.59 kB / 0.5217 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3478, allocations: 1.312 kB / 0.5217 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3478, allocations: 0.7031 kB / 0.5217 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3479, allocations: 1.25 kB / 0.5217 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.348, allocations: 57.72 kB / 0.5218 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.3485, allocations: 326.7 kB / 0.5221 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3487, allocations: 82.56 kB / 0.5222 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.3487, allocations: 35.98 kB / 0.5222 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.3487, allocations: 5.703 kB / 0.5222 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.3487, allocations: 31.59 kB / 0.5222 GB, free: 6.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3487, allocations: 0 / 0.5222 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002616/0.349, allocations: 128.2 kB / 0.5223 GB, free: 6.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.349, allocations: 57.27 kB / 0.5224 GB, free: 6.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.3493, allocations: 189.6 kB / 0.5226 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3493, allocations: 27.72 kB / 0.5226 GB, free: 6.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.3494, allocations: 107.3 kB / 0.5227 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3494, allocations: 25 kB / 0.5227 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.3495, allocations: 21.56 kB / 0.5228 GB, free: 6.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.3495, allocations: 326.4 kB / 0.5231 GB, free: 5.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.3496, allocations: 27.31 kB / 0.5231 GB, free: 5.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.3496, allocations: 33.3 kB / 0.5231 GB, free: 5.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3497, allocations: 69.03 kB / 0.5232 GB, free: 5.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3497, allocations: 0 / 0.5232 GB, free: 5.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001545/0.3499, allocations: 117.1 kB / 0.5233 GB, free: 5.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3499, allocations: 4.469 kB / 0.5233 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3499, allocations: 0.7969 kB / 0.5233 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3499, allocations: 1.25 kB / 0.5233 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.3501, allocations: 26.77 kB / 0.5233 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3501, allocations: 1.828 kB / 0.5233 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3503, allocations: 25.45 kB / 0.5234 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.3503, allocations: 1.281 kB / 0.5234 GB, free: 5.758 MB / 382.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 6.733e-05/0.3503, allocations: 122.3 kB / 0.5235 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.3504, allocations: 8.906 kB / 0.5235 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.3504, allocations: 17.91 kB / 0.5235 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3504, allocations: 7.562 kB / 0.5235 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3504, allocations: 0.7031 kB / 0.5235 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3504, allocations: 4 kB / 0.5235 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004583/0.3509, allocations: 363.7 kB / 0.5239 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3509, allocations: 0.5625 kB / 0.5239 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.351, allocations: 11.45 kB / 0.5239 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.351, allocations: 1.125 kB / 0.5239 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.351, allocations: 1.969 kB / 0.5239 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.351, allocations: 5.062 kB / 0.5239 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.351, allocations: 0 / 0.5239 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.3512, allocations: 229.6 kB / 0.5241 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.3513, allocations: 19.89 kB / 0.5241 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.3513, allocations: 8.062 kB / 0.5241 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3515, allocations: 18.45 kB / 0.5241 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.3515, allocations: 3.859 kB / 0.5241 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3515, allocations: 1.375 kB / 0.5241 GB, free: 5.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002606/0.3517, allocations: 150.2 kB / 0.5243 GB, free: 5.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3517, allocations: 0 / 0.5243 GB, free: 5.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.352, allocations: 12.91 kB / 0.5243 GB, free: 5.02 MB / 382.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.0003929/0.3524, allocations: 0.7657 MB / 0.525 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.3525, allocations: 68.23 kB / 0.5251 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3526, allocations: 0 / 0.5251 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.3526, allocations: 34.97 kB / 0.5251 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3529, allocations: 16.28 kB / 0.5252 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.3551, allocations: 1.784 MB / 0.5269 GB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.889e-05/0.3552, allocations: 96.73 kB / 0.527 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.072e-05/0.3553, allocations: 19.73 kB / 0.527 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.3553, allocations: 30.14 kB / 0.527 GB, free: 2.812 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3553, allocations: 1.469 kB / 0.527 GB, free: 2.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3851, allocations: 3.045 MB / 0.53 GB, free: 1.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.52, allocations: 14.42 kB / 0.53 GB, free: 1.906 MB / 382.1 MB " [Timeout remaining time 648] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.18680363195017] Failed to read output from testmodel.py, exit status != 0: 11.626282427925617 11.645075111 11.29551949 Calling exit ...