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.001753/0.001753, allocations: 101.5 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.002344/0.002344, allocations: 215.3 kB / 23.04 MB, free: 5.07 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.1024/0.1024, allocations: 22.93 MB / 336.2 MB, free: 12.59 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_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.002054/0.002054, allocations: 67.84 kB / 469.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 59.28 MB / 0.5168 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002806/0.372, allocations: 1.752 MB / 0.5185 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3731, allocations: 0.6288 MB / 0.5191 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.3731, allocations: 5.656 kB / 0.5191 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.3735, allocations: 40.41 kB / 0.5192 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3736, allocations: 59.25 kB / 0.5192 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.374, allocations: 112.8 kB / 0.5193 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.3744, allocations: 344.9 kB / 0.5196 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3745, allocations: 32.11 kB / 0.5197 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.3747, allocations: 117.5 kB / 0.5198 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.3749, allocations: 136.1 kB / 0.5199 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.375, allocations: 24.44 kB / 0.5199 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.269e-05/0.375, allocations: 21.03 kB / 0.52 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3751, allocations: 82.95 kB / 0.52 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3753, allocations: 90.95 kB / 0.5201 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.3755, allocations: 220.1 kB / 0.5203 GB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3755, allocations: 1.641 kB / 0.5203 GB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3755, allocations: 0 / 0.5203 GB, free: 7.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3756, allocations: 0 / 0.5203 GB, free: 7.504 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.001316/0.3769, allocations: 0.5099 MB / 0.5208 GB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3769, allocations: 10.27 kB / 0.5208 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.246e-05/0.3769, allocations: 2.625 kB / 0.5209 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.377, allocations: 40.92 kB / 0.5209 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.377, allocations: 24.36 kB / 0.5209 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.3777, allocations: 277.8 kB / 0.5212 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3777, allocations: 8.938 kB / 0.5212 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.3777, allocations: 15.36 kB / 0.5212 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.378, allocations: 136.9 kB / 0.5213 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.378, allocations: 1.5 kB / 0.5213 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.378, allocations: 4 kB / 0.5213 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.378, allocations: 3 kB / 0.5213 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.3783, allocations: 133.1 kB / 0.5215 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009064/0.3792, allocations: 0.5347 MB / 0.522 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.3794, allocations: 152.7 kB / 0.5221 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3795, allocations: 74.95 kB / 0.5222 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3796, allocations: 3.156 kB / 0.5222 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.3796, allocations: 32.44 kB / 0.5222 GB, free: 6.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.103e-06/0.3796, allocations: 0 / 0.5222 GB, free: 6.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004896/0.3801, allocations: 270.8 kB / 0.5225 GB, free: 6.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.3801, allocations: 53.84 kB / 0.5225 GB, free: 6.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.3807, allocations: 295.4 kB / 0.5228 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3807, allocations: 31.5 kB / 0.5229 GB, free: 5.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.3808, allocations: 134.5 kB / 0.523 GB, free: 5.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.3809, allocations: 48.88 kB / 0.523 GB, free: 5.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.3809, allocations: 36 kB / 0.5231 GB, free: 5.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.381, allocations: 330 kB / 0.5234 GB, free: 5.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3811, allocations: 72.94 kB / 0.5235 GB, free: 5.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3813, allocations: 74.97 kB / 0.5235 GB, free: 5.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.3815, allocations: 166.7 kB / 0.5237 GB, free: 5.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3815, allocations: 0 / 0.5237 GB, free: 5.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003562/0.3819, allocations: 230.5 kB / 0.5239 GB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3819, allocations: 9.812 kB / 0.5239 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3819, allocations: 0 / 0.5239 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3819, allocations: 1.406 kB / 0.5239 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.3823, allocations: 46.72 kB / 0.524 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.3823, allocations: 1.062 kB / 0.524 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.3826, allocations: 38.81 kB / 0.524 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.3826, allocations: 8.125 kB / 0.524 GB, free: 5.117 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 0.0001049/0.3827, allocations: 142.4 kB / 0.5241 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.3827, allocations: 17.16 kB / 0.5242 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.3828, allocations: 28.72 kB / 0.5242 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3828, allocations: 3.219 kB / 0.5242 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3828, allocations: 0 / 0.5242 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3828, allocations: 4.781 kB / 0.5242 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.3832, allocations: 276 kB / 0.5245 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3832, allocations: 0 / 0.5245 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3833, allocations: 22.33 kB / 0.5245 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3833, allocations: 1.438 kB / 0.5245 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3834, allocations: 7.719 kB / 0.5245 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3834, allocations: 5.344 kB / 0.5245 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3834, allocations: 0 / 0.5245 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.3839, allocations: 380.8 kB / 0.5249 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.384, allocations: 23.19 kB / 0.5249 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.384, allocations: 6.031 kB / 0.5249 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3843, allocations: 33.19 kB / 0.5249 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.3843, allocations: 16.59 kB / 0.5249 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3843, allocations: 2.844 kB / 0.5249 GB, free: 4.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004989/0.3848, allocations: 229 kB / 0.5252 GB, free: 4.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3848, allocations: 0 / 0.5252 GB, free: 4.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.3851, allocations: 28.31 kB / 0.5252 GB, free: 4.355 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.0006836/0.3858, allocations: 0.9166 MB / 0.5261 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.3862, allocations: 164.2 kB / 0.5262 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3862, allocations: 0 / 0.5262 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.3863, allocations: 72.98 kB / 0.5263 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3867, allocations: 37.05 kB / 0.5263 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.3909, allocations: 2.612 MB / 0.5289 GB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3912, allocations: 0.7478 MB / 0.5296 GB, free: 1.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.3914, allocations: 37.53 kB / 0.5297 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3915, allocations: 58.89 kB / 0.5297 GB, free: 1.055 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3915, allocations: 0 / 0.5297 GB, free: 1.055 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.4189, allocations: 4.588 MB / 0.5342 GB, free: 496 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.93, allocations: 2.406 kB / 0.5342 GB, free: 496 kB / 382.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.722739976015873] Failed to read output from testmodel.py, exit status != 0: 12.09500074601965 12.126388499 11.745740681000001 Calling exit ...