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.00134/0.00134, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001505/0.001505, allocations: 215.1 kB / 23.02 MB, free: 4.949 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1048/0.1048, allocations: 22.94 MB / 336.1 MB, free: 12.51 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.002073/0.002073, allocations: 67.84 kB / 469.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 59.28 MB / 0.5167 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002276/0.3281, allocations: 1.47 MB / 0.5181 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.3289, allocations: 497.8 kB / 0.5186 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.3289, allocations: 4.75 kB / 0.5186 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.3292, allocations: 19.56 kB / 0.5186 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.3293, allocations: 31.05 kB / 0.5186 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.3295, allocations: 56.95 kB / 0.5187 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.3297, allocations: 151.3 kB / 0.5188 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.3298, allocations: 13.97 kB / 0.5189 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.3299, allocations: 54.42 kB / 0.5189 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.33, allocations: 69.22 kB / 0.519 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.3301, allocations: 6.531 kB / 0.519 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.3301, allocations: 11.03 kB / 0.519 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.3301, allocations: 32.5 kB / 0.519 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.3302, allocations: 30.55 kB / 0.5191 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3303, allocations: 84.48 kB / 0.5191 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3303, allocations: 1.312 kB / 0.5191 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3303, allocations: 0 / 0.5191 GB, free: 8.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3303, allocations: 0 / 0.5191 GB, free: 8.078 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.0007489/0.3311, allocations: 370.2 kB / 0.5195 GB, free: 7.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3311, allocations: 11.56 kB / 0.5195 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.48e-05/0.3311, allocations: 5.812 kB / 0.5195 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.3312, allocations: 39.09 kB / 0.5195 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.3312, allocations: 11.02 kB / 0.5196 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.3316, allocations: 182.6 kB / 0.5197 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3316, allocations: 2.531 kB / 0.5197 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3316, allocations: 9.234 kB / 0.5197 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3318, allocations: 84.75 kB / 0.5198 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3318, allocations: 0.6875 kB / 0.5198 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3318, allocations: 0 / 0.5198 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3318, allocations: 2.422 kB / 0.5198 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3319, allocations: 60.78 kB / 0.5199 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.3324, allocations: 330.5 kB / 0.5202 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3326, allocations: 95.52 kB / 0.5203 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.3327, allocations: 43.58 kB / 0.5203 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.3327, allocations: 1.094 kB / 0.5203 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3327, allocations: 36.27 kB / 0.5204 GB, free: 7.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.123e-06/0.3327, allocations: 0 / 0.5204 GB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001179/0.3339, allocations: 484 kB / 0.5208 GB, free: 6.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.3339, allocations: 53.14 kB / 0.5209 GB, free: 6.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.3342, allocations: 190.8 kB / 0.5211 GB, free: 6.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.3342, allocations: 27.23 kB / 0.5211 GB, free: 6.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.3343, allocations: 104.2 kB / 0.5212 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3343, allocations: 35.17 kB / 0.5212 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.3343, allocations: 27.66 kB / 0.5212 GB, free: 6.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.3344, allocations: 329.6 kB / 0.5216 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.3345, allocations: 46.69 kB / 0.5216 GB, free: 6.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.3345, allocations: 41.23 kB / 0.5216 GB, free: 6.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3347, allocations: 104 kB / 0.5217 GB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3347, allocations: 0 / 0.5217 GB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002018/0.3349, allocations: 142.1 kB / 0.5219 GB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3349, allocations: 10.17 kB / 0.5219 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3349, allocations: 0 / 0.5219 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3349, allocations: 1.031 kB / 0.5219 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.3351, allocations: 30.64 kB / 0.5219 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3351, allocations: 0.9375 kB / 0.5219 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.3353, allocations: 26.31 kB / 0.5219 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3353, allocations: 2.188 kB / 0.5219 GB, free: 6.004 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 6.959e-05/0.3354, allocations: 124.6 kB / 0.5221 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.3354, allocations: 13.31 kB / 0.5221 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.3354, allocations: 21.25 kB / 0.5221 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3355, allocations: 1.438 kB / 0.5221 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3355, allocations: 5.25 kB / 0.5221 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3355, allocations: 5.062 kB / 0.5221 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.336, allocations: 440.4 kB / 0.5225 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3361, allocations: 0.6562 kB / 0.5225 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.3363, allocations: 33.7 kB / 0.5226 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3363, allocations: 1.125 kB / 0.5226 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3363, allocations: 5.797 kB / 0.5226 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3363, allocations: 1.094 kB / 0.5226 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3363, allocations: 1.156 kB / 0.5226 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3366, allocations: 301.9 kB / 0.5229 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.3366, allocations: 9.703 kB / 0.5229 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3366, allocations: 15.8 kB / 0.5229 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3368, allocations: 14.36 kB / 0.5229 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.3368, allocations: 5.562 kB / 0.5229 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.3369, allocations: 1.906 kB / 0.5229 GB, free: 5.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.3371, allocations: 150 kB / 0.523 GB, free: 5.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3371, allocations: 1.062 kB / 0.523 GB, free: 5.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.3373, allocations: 19.56 kB / 0.5231 GB, free: 5.199 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.0004281/0.3378, allocations: 0.8361 MB / 0.5239 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.338, allocations: 102.1 kB / 0.524 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.338, allocations: 3.938 kB / 0.524 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.3381, allocations: 52.03 kB / 0.524 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3384, allocations: 21.23 kB / 0.5241 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.3406, allocations: 1.922 MB / 0.5259 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.193e-05/0.3407, allocations: 95.98 kB / 0.526 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.3407, allocations: 22.55 kB / 0.526 GB, free: 2.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.3408, allocations: 32 kB / 0.5261 GB, free: 2.879 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3408, allocations: 4 kB / 0.5261 GB, free: 2.875 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.3652, allocations: 3.025 MB / 0.529 GB, free: 2.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.92, allocations: 8.484 kB / 0.529 GB, free: 2.367 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.752416800009087] Failed to read output from testmodel.py, exit status != 0: 12.079949366045184 12.103679108 11.770363119 Calling exit ...