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.001281/0.001281, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001472/0.001472, allocations: 218 kB / 23.04 MB, free: 5.074 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 8 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.1032/0.1032, allocations: 22.93 MB / 336.2 MB, free: 12.6 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="cs",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.002041/0.002041, allocations: 67.89 kB / 469.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 59.28 MB / 0.5168 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.003431/0.3745, allocations: 1.494 MB / 0.5182 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3759, allocations: 0.5455 MB / 0.5188 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.376, allocations: 0.9375 kB / 0.5188 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.3764, allocations: 23.39 kB / 0.5188 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.3766, allocations: 27.66 kB / 0.5188 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3769, allocations: 55.64 kB / 0.5189 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3771, allocations: 151.8 kB / 0.519 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3772, allocations: 11.91 kB / 0.519 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.3774, allocations: 50.09 kB / 0.5191 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.3775, allocations: 66.12 kB / 0.5191 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.3775, allocations: 6.5 kB / 0.5191 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.3775, allocations: 11.31 kB / 0.5191 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.3776, allocations: 40.91 kB / 0.5192 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.3777, allocations: 34.88 kB / 0.5192 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.3778, allocations: 83.23 kB / 0.5193 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3778, allocations: 0.5625 kB / 0.5193 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3778, allocations: 0 / 0.5193 GB, free: 8.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3778, allocations: 1.281 kB / 0.5193 GB, free: 8.102 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.0008377/0.3787, allocations: 368.9 kB / 0.5197 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3787, allocations: 11.92 kB / 0.5197 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.181e-05/0.3788, allocations: 5.5 kB / 0.5197 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.3788, allocations: 43.39 kB / 0.5197 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.3789, allocations: 9.922 kB / 0.5197 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.3793, allocations: 179 kB / 0.5199 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3793, allocations: 6.25 kB / 0.5199 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.3793, allocations: 5.391 kB / 0.5199 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3795, allocations: 82.61 kB / 0.52 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3795, allocations: 4.5 kB / 0.52 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3796, allocations: 1.312 kB / 0.52 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.3796, allocations: 1.406 kB / 0.52 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.3797, allocations: 57.36 kB / 0.52 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.3804, allocations: 347.5 kB / 0.5204 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3806, allocations: 88.97 kB / 0.5205 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.3807, allocations: 42.7 kB / 0.5205 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.3807, allocations: 1.375 kB / 0.5205 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.3807, allocations: 31.08 kB / 0.5205 GB, free: 7.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3807, allocations: 5.188 kB / 0.5205 GB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001223/0.3819, allocations: 478.4 kB / 0.521 GB, free: 6.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.3819, allocations: 53.52 kB / 0.521 GB, free: 6.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.3823, allocations: 199.5 kB / 0.5212 GB, free: 6.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3823, allocations: 25.7 kB / 0.5213 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.3823, allocations: 107.5 kB / 0.5214 GB, free: 6.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.3824, allocations: 36.2 kB / 0.5214 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.3824, allocations: 26.81 kB / 0.5214 GB, free: 6.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.3825, allocations: 326.8 kB / 0.5217 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/0.3826, allocations: 40.72 kB / 0.5218 GB, free: 6.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.3826, allocations: 49.88 kB / 0.5218 GB, free: 6.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3828, allocations: 99.7 kB / 0.5219 GB, free: 6.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3828, allocations: 0 / 0.5219 GB, free: 6.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002037/0.383, allocations: 146.6 kB / 0.5221 GB, free: 6.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.383, allocations: 5.141 kB / 0.5221 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.383, allocations: 4.75 kB / 0.5221 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.383, allocations: 0 / 0.5221 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.3833, allocations: 32.59 kB / 0.5221 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3833, allocations: 0 / 0.5221 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3834, allocations: 22.11 kB / 0.5221 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3834, allocations: 2.281 kB / 0.5221 GB, free: 6.031 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 (12): * Single equations (assignments): 12 * 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 9.491e-05/0.3835, allocations: 128.1 kB / 0.5222 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3836, allocations: 12.88 kB / 0.5223 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.3836, allocations: 20.56 kB / 0.5223 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3836, allocations: 2 kB / 0.5223 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3836, allocations: 0 / 0.5223 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3836, allocations: 5.922 kB / 0.5223 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.3843, allocations: 446.8 kB / 0.5227 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3843, allocations: 1.094 kB / 0.5227 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.3845, allocations: 37.56 kB / 0.5227 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3845, allocations: 1.219 kB / 0.5227 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3845, allocations: 5.734 kB / 0.5228 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3845, allocations: 1.188 kB / 0.5228 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3845, allocations: 192 / 0.5228 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.3848, allocations: 303.5 kB / 0.523 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.3849, allocations: 15.25 kB / 0.5231 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.3849, allocations: 5.938 kB / 0.5231 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.385, allocations: 13.91 kB / 0.5231 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.3851, allocations: 14.34 kB / 0.5231 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.3851, allocations: 2.969 kB / 0.5231 GB, free: 5.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.3853, allocations: 152.5 kB / 0.5232 GB, free: 5.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3853, allocations: 0 / 0.5232 GB, free: 5.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000241/0.3856, allocations: 20.03 kB / 0.5233 GB, free: 5.219 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 ($outputAlias_y,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 (10): * Single equations (assignments): 10 * 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.0004383/0.386, allocations: 0.8392 MB / 0.5241 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.3862, allocations: 98.89 kB / 0.5242 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3862, allocations: 0 / 0.5242 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.158e-05/0.3863, allocations: 49.27 kB / 0.5242 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3866, allocations: 16.55 kB / 0.5242 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.389, allocations: 1.922 MB / 0.5261 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.3892, allocations: 0.718 MB / 0.5268 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.574e-05/0.3893, allocations: 25.78 kB / 0.5268 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.3894, allocations: 33.03 kB / 0.5269 GB, free: 2.262 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3894, allocations: 0 / 0.5269 GB, free: 2.262 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.4139, allocations: 2.987 MB / 0.5298 GB, free: 1.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.7, allocations: 7.844 kB / 0.5298 GB, free: 1.809 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 os._exit(0), Time elapsed: 14.430619203019887] Failed to read output from testmodel.py, exit status != 0: 11.86444755498087 11.882416473 11.501297401 Calling exit ...