Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Keep_within_two_limits_actuators.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.0007717/0.0007717, allocations: 76.52 kB / 19.95 MB, free: 4.598 MB / 18.57 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.001088/0.001088, allocations: 169.2 kB / 23.23 MB, free: 1.316 MB / 18.57 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 0.8664/0.8664, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.06139/0.06139, allocations: 18.13 MB / 278.1 MB, free: 11.53 MB / 266.7 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.Keep_within_two_limits_actuators,fileNamePrefix="AES_AES_Devel_test_models_Keep_within_two_limits_actuators",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Keep_within_two_limits_actuators,fileNamePrefix="AES_AES_Devel_test_models_Keep_within_two_limits_actuators",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.066e-05, allocations: 2.844 kB / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Keep_within_two_limits_actuators): time 0.002248/0.002268, allocations: 2.073 MB / 417.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009013/0.00317, allocations: 0.7308 MB / 418.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.003282, allocations: 7.125 kB / 418.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.00354, allocations: 42.36 kB / 418.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.003687, allocations: 65.91 kB / 418.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.004018, allocations: 215.2 kB / 419 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.004282, allocations: 319.7 kB / 419.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.004423, allocations: 82.38 kB / 419.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.004534, allocations: 106.7 kB / 419.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.00467, allocations: 111.2 kB / 419.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.004713, allocations: 27.41 kB / 419.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.855e-05/0.004741, allocations: 28.09 kB / 419.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.004804, allocations: 72.27 kB / 419.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.004865, allocations: 76.97 kB / 419.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.005133, allocations: 314.2 kB / 420.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005136, allocations: 0 / 420.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005136, allocations: 3.938 kB / 420.1 MB, free: 9.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005141, allocations: 0 / 420.1 MB, free: 9.73 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007352/0.005877, allocations: 0.5472 MB / 420.7 MB, free: 9.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.005914, allocations: 10.17 kB / 420.7 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.005954, allocations: 54.67 kB / 420.7 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.006, allocations: 36.83 kB / 420.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.006329, allocations: 268.6 kB / 421 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.006344, allocations: 18.66 kB / 421 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.006376, allocations: 17.12 kB / 421 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.006693, allocations: 303.6 kB / 421.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006703, allocations: 1.125 kB / 421.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.006721, allocations: 14.69 kB / 421.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.006728, allocations: 4.156 kB / 421.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.006994, allocations: 180.2 kB / 421.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.007782, allocations: 0.6095 MB / 422.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.008254, allocations: 262.2 kB / 422.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.008378, allocations: 85.95 kB / 422.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.008404, allocations: 11.11 kB / 422.5 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.008418, allocations: 36.81 kB / 422.5 MB, free: 8.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.008419, allocations: 0 / 422.5 MB, free: 8.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004392/0.008858, allocations: 289.2 kB / 422.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.008884, allocations: 106.5 kB / 422.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.00912, allocations: 270.2 kB / 423.2 MB, free: 7.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.009135, allocations: 31.02 kB / 423.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.009201, allocations: 171 kB / 423.4 MB, free: 7.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.009237, allocations: 63.45 kB / 423.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.009292, allocations: 51.08 kB / 423.5 MB, free: 7.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.009335, allocations: 335.6 kB / 423.8 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.009456, allocations: 89.09 kB / 423.9 MB, free: 7.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.009593, allocations: 178.6 kB / 424.1 MB, free: 7.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007317/0.01033, allocations: 395.6 kB / 424.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01033, allocations: 0 / 424.5 MB, free: 6.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003006/0.01063, allocations: 265 kB / 424.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01064, allocations: 5.641 kB / 424.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01065, allocations: 1.281 kB / 424.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.01066, allocations: 1.312 kB / 424.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.0108, allocations: 54.8 kB / 424.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01081, allocations: 1.406 kB / 424.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.01092, allocations: 37.08 kB / 424.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.01093, allocations: 12.91 kB / 424.8 MB, free: 6.793 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Ahi.y:VARIABLE(flow=false start = Ahi.y_start fixed = true ) \"Connector of Real output signal\" type: Real Alo.y:VARIABLE(flow=false start = Alo.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001759/0.01111, allocations: 164 kB / 425 MB, free: 6.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.77e-05/0.01121, allocations: 151 kB / 425.1 MB, free: 6.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005103/0.01172, allocations: 332.7 kB / 425.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.01172, allocations: 1.156 kB / 425.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002145/0.01193, allocations: 208.8 kB / 425.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.573e-06/0.01194, allocations: 4.625 kB / 425.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-06/0.01194, allocations: 9.469 kB / 425.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/0.01194, allocations: 2 kB / 425.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01207, allocations: 49.53 kB / 425.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.01207, allocations: 1.656 kB / 425.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01218, allocations: 30.22 kB / 425.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01219, allocations: 9.719 kB / 425.8 MB, free: 6.289 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Ahi.y:VARIABLE(flow=false start = Ahi.y_start fixed = true ) \"Connector of Real output signal\" type: Real Alo.y:VARIABLE(flow=false start = Alo.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.529e-05/0.01226, allocations: 196.5 kB / 426 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.01229, allocations: 30.92 kB / 426 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.01263, allocations: 236 kB / 426.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01263, allocations: 2.25 kB / 426.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01263, allocations: 1.25 kB / 426.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01264, allocations: 1.453 kB / 426.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.01285, allocations: 277.5 kB / 426.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01285, allocations: 0.6094 kB / 426.5 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.01298, allocations: 44.8 kB / 426.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01298, allocations: 0 / 426.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01299, allocations: 7.625 kB / 426.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.013, allocations: 1.062 kB / 426.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.013, allocations: 0 / 426.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.0134, allocations: 428.3 kB / 427 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.01343, allocations: 33.91 kB / 427 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01345, allocations: 2.531 kB / 427 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.01357, allocations: 30.16 kB / 427 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.01359, allocations: 9.531 kB / 427.1 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.0136, allocations: 9.125 kB / 427.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.01376, allocations: 199.6 kB / 427.3 MB, free: 5.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01376, allocations: 1.125 kB / 427.3 MB, free: 5.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002498/0.01401, allocations: 87.75 kB / 427.3 MB, free: 5.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C_hi.FO.y,P.x_scaled[1],C_lo.FO.y,Ahi.y,Alo.y) * 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 (18): * Single equations (assignments): 18 * 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.0005074/0.01451, allocations: 0.9631 MB / 428.3 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.01488, allocations: 275.1 kB / 428.6 MB, free: 4.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01488, allocations: 0 / 428.6 MB, free: 4.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.015, allocations: 90.58 kB / 428.7 MB, free: 4.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01526, allocations: 67.92 kB / 428.7 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.0176, allocations: 2.729 MB / 431.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.01771, allocations: 154.8 kB / 431.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.01781, allocations: 33.55 kB / 431.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.01791, allocations: 89.16 kB / 431.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01791, allocations: 0 / 431.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.03497, allocations: 6.286 MB / 438 MB, free: 64 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.732, allocations: 11.61 kB / 438 MB, free: 56 kB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe ; mkfifo AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe >> ../files/AES_AES.Devel_test_models.Keep_within_two_limits_actuators.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Keep_within_two_limits_actuators_fmu --startTime=0 --stopTime=1000 --stepSize=0.30003 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Keep_within_two_limits_actuators.fmu > AES_AES.Devel_test_models.Keep_within_two_limits_actuators.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.563658240251243] Failed to read output from testmodel.py, exit status != 0: 6.812554125674069 6.822916531 6.816063307 Calling exit ...