Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.002031/0.002031, allocations: 113 kB / 18.94 MB, free: 2.934 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.002603/0.002603, allocations: 208.1 kB / 22.25 MB, free: 5.086 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 MB, free: 8.02 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.1058/0.1058, allocations: 24.12 MB / 336.6 MB, free: 11.45 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.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_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.002867/0.002867, allocations: 69.31 kB / 470.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3577, allocations: 59.59 MB / 0.5181 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002514/0.3602, allocations: 1.757 MB / 0.5198 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.3612, allocations: 0.6258 MB / 0.5204 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.3613, allocations: 10.38 kB / 0.5204 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3616, allocations: 40.31 kB / 0.5205 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.3618, allocations: 56.44 kB / 0.5205 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.3621, allocations: 121 kB / 0.5206 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.3625, allocations: 343.2 kB / 0.521 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3626, allocations: 33.12 kB / 0.521 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3628, allocations: 117.6 kB / 0.5211 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.3631, allocations: 140.3 kB / 0.5213 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.3631, allocations: 21.22 kB / 0.5213 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.3631, allocations: 20.75 kB / 0.5213 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3632, allocations: 83.72 kB / 0.5214 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.803e-05/0.3633, allocations: 89.5 kB / 0.5215 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.3636, allocations: 225.3 kB / 0.5217 GB, free: 6.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3636, allocations: 1.375 kB / 0.5217 GB, free: 6.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3636, allocations: 0 / 0.5217 GB, free: 6.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3636, allocations: 0 / 0.5217 GB, free: 6.805 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001297/0.3649, allocations: 0.508 MB / 0.5222 GB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3649, allocations: 14.95 kB / 0.5222 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.365, allocations: 39.44 kB / 0.5222 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.365, allocations: 19.61 kB / 0.5222 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.3656, allocations: 272.7 kB / 0.5225 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3656, allocations: 8.781 kB / 0.5225 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.3657, allocations: 20.53 kB / 0.5225 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3659, allocations: 136.9 kB / 0.5227 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3659, allocations: 1.312 kB / 0.5227 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3659, allocations: 4 kB / 0.5227 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3659, allocations: 3.188 kB / 0.5227 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.3662, allocations: 133.7 kB / 0.5228 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008938/0.3671, allocations: 0.534 MB / 0.5233 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.3673, allocations: 150 kB / 0.5235 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.3675, allocations: 71.92 kB / 0.5235 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3675, allocations: 1.5 kB / 0.5235 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.3675, allocations: 36.45 kB / 0.5236 GB, free: 5.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.3675, allocations: 4 kB / 0.5236 GB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005169/0.368, allocations: 271.2 kB / 0.5238 GB, free: 5.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.368, allocations: 52.53 kB / 0.5239 GB, free: 5.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.3686, allocations: 293.8 kB / 0.5242 GB, free: 5.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.3686, allocations: 34.92 kB / 0.5242 GB, free: 5.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.3687, allocations: 137.3 kB / 0.5243 GB, free: 5.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.3687, allocations: 38.5 kB / 0.5244 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3688, allocations: 32.06 kB / 0.5244 GB, free: 5.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.3688, allocations: 334.9 kB / 0.5247 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.369, allocations: 76.58 kB / 0.5248 GB, free: 4.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3691, allocations: 75.3 kB / 0.5249 GB, free: 4.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.3693, allocations: 162.7 kB / 0.525 GB, free: 4.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3693, allocations: 1.125 kB / 0.525 GB, free: 4.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003187/0.3696, allocations: 228.6 kB / 0.5252 GB, free: 4.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3697, allocations: 5.031 kB / 0.5252 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3697, allocations: 1.344 kB / 0.5252 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3697, allocations: 0 / 0.5252 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.37, allocations: 51.62 kB / 0.5253 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.37, allocations: 1.25 kB / 0.5253 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3703, allocations: 31.14 kB / 0.5253 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.3703, allocations: 11.59 kB / 0.5253 GB, free: 4.43 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 (16): * Single equations (assignments): 16 * 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.258e-05/0.3704, allocations: 142.4 kB / 0.5255 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.3704, allocations: 20.39 kB / 0.5255 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.3705, allocations: 31.67 kB / 0.5255 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.3705, allocations: 1.062 kB / 0.5255 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3705, allocations: 1.062 kB / 0.5255 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3705, allocations: 0 / 0.5255 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.3708, allocations: 279 kB / 0.5258 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3708, allocations: 0 / 0.5258 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.371, allocations: 35.52 kB / 0.5258 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.371, allocations: 1.312 kB / 0.5258 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.371, allocations: 4.078 kB / 0.5258 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.371, allocations: 0 / 0.5258 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.371, allocations: 1.406 kB / 0.5258 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.3715, allocations: 379.2 kB / 0.5262 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.3715, allocations: 25.59 kB / 0.5262 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.3716, allocations: 8.328 kB / 0.5262 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.3719, allocations: 31.52 kB / 0.5262 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.3719, allocations: 7.594 kB / 0.5262 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3719, allocations: 7.562 kB / 0.5263 GB, free: 3.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004714/0.3724, allocations: 230.2 kB / 0.5265 GB, free: 3.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3724, allocations: 4 kB / 0.5265 GB, free: 3.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3727, allocations: 28.88 kB / 0.5265 GB, free: 3.656 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.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 (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 Backend phase and start with SimCode phase: time 0.0006629/0.3734, allocations: 0.9133 MB / 0.5274 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.3737, allocations: 157.8 kB / 0.5275 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3737, allocations: 9.219 kB / 0.5276 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.3738, allocations: 75.48 kB / 0.5276 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3742, allocations: 28.8 kB / 0.5277 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.3777, allocations: 2.611 MB / 0.5302 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3779, allocations: 0.7473 MB / 0.5309 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.378, allocations: 39.48 kB / 0.531 GB, free: 404 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3781, allocations: 57.25 kB / 0.531 GB, free: 364 kB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3781, allocations: 1.312 kB / 0.531 GB, free: 364 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.4092, allocations: 4.549 MB / 0.5355 GB, free: 15.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 6.812 kB / 0.5355 GB, free: 15.79 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SOPDT_overdamped_fmu --startTime=0 --stopTime=25 --stepSize=0.05 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.583454485982656] Failed to read output from testmodel.py, exit status != 0: 11.91170884296298 11.929799534 11.562640285 Calling exit ...