Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.dz2.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.0008006/0.0008006, 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.001276/0.001276, 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.902/0.902, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.06237/0.06237, allocations: 18.13 MB / 278.1 MB, free: 11.56 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.dz2,fileNamePrefix="AES_AES_Devel_test_models_dz2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.dz2,fileNamePrefix="AES_AES_Devel_test_models_dz2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 415.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.721e-05, allocations: 4.062 kB / 415.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz2): time 0.001887/0.001904, allocations: 1.777 MB / 417.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005979/0.002502, allocations: 0.5066 MB / 418.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.002559, allocations: 2.906 kB / 418.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.002583, allocations: 13.88 kB / 418.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.002689, allocations: 25.53 kB / 418.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.002809, allocations: 84.53 kB / 418.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.002932, allocations: 122.1 kB / 418.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.003012, allocations: 35.2 kB / 418.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.003054, allocations: 43.88 kB / 418.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.003114, allocations: 40.84 kB / 418.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003136, allocations: 8.75 kB / 418.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.003149, allocations: 9.438 kB / 418.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.003167, allocations: 24.28 kB / 418.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.003195, allocations: 35.89 kB / 418.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003314, allocations: 117.9 kB / 418.7 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003316, allocations: 5.531 kB / 418.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003316, allocations: 0 / 418.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.00332, allocations: 0 / 418.7 MB, free: 10.53 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0002865/0.003607, allocations: 358.3 kB / 419 MB, free: 10.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.003634, allocations: 10.52 kB / 419.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.01e-05/0.003654, allocations: 40.19 kB / 419.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.003678, allocations: 20.69 kB / 419.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.003809, allocations: 155.1 kB / 419.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.003819, allocations: 8.219 kB / 419.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.003834, allocations: 10.81 kB / 419.3 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.004009, allocations: 161.7 kB / 419.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.004014, allocations: 0 / 419.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.004023, allocations: 9.219 kB / 419.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.004027, allocations: 1.406 kB / 419.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.004171, allocations: 86.44 kB / 419.5 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.004612, allocations: 435.5 kB / 420 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.004834, allocations: 131.7 kB / 420.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.004909, allocations: 51.23 kB / 420.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.004923, allocations: 1.781 kB / 420.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.938e-06/0.004933, allocations: 32.12 kB / 420.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 7.11e-07/0.004934, allocations: 0 / 420.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002797/0.005214, allocations: 177.1 kB / 420.4 MB, free: 9.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.005233, allocations: 78.58 kB / 420.4 MB, free: 9.227 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.005299, allocations: 152 kB / 420.6 MB, free: 9.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.005307, allocations: 26.36 kB / 420.6 MB, free: 9.082 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.005339, allocations: 114.2 kB / 420.7 MB, free: 8.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.005359, allocations: 40.39 kB / 420.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.005394, allocations: 30.55 kB / 420.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.92e-05/0.005423, allocations: 325.8 kB / 421.1 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.005498, allocations: 45.55 kB / 421.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.005584, allocations: 93.14 kB / 421.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.006041, allocations: 223.9 kB / 421.5 MB, free: 8.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006042, allocations: 0 / 421.5 MB, free: 8.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002141/0.006256, allocations: 156.6 kB / 421.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/0.006265, allocations: 4.719 kB / 421.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00627, allocations: 2.656 kB / 421.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.006277, allocations: 9.125 kB / 421.6 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.006373, allocations: 28.16 kB / 421.7 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006377, allocations: 6.375 kB / 421.7 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.00643, allocations: 22.03 kB / 421.7 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.006437, allocations: 7.766 kB / 421.7 MB, free: 8.336 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real C.x:VARIABLE(start = C.x_start fixed = true ) \"State of block\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001074/0.006545, allocations: 135.4 kB / 421.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.827e-05/0.006603, allocations: 77.48 kB / 421.9 MB, free: 8.164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002989/0.006902, allocations: 173.9 kB / 422.1 MB, free: 8.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.41e-07/0.006902, allocations: 5.031 kB / 422.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization_lambda0): time 0.0001458/0.007048, allocations: 133.1 kB / 422.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.007054, allocations: 5.438 kB / 422.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.007056, allocations: 0.75 kB / 422.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-06/0.007058, allocations: 5.281 kB / 422.2 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.007125, allocations: 32.25 kB / 422.2 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.92e-07/0.007126, allocations: 1.188 kB / 422.2 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.00717, allocations: 18.86 kB / 422.3 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007176, allocations: 8.203 kB / 422.3 MB, free: 7.996 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real C.x:VARIABLE(start = C.x_start fixed = true ) \"State of block\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 15 * 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 5.917e-05/0.007235, allocations: 192.4 kB / 422.5 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.007254, allocations: 9.656 kB / 422.5 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.007481, allocations: 141.3 kB / 422.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007483, allocations: 6.344 kB / 422.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.007487, allocations: 0 / 422.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007492, allocations: 1.125 kB / 422.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.007625, allocations: 187.6 kB / 422.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007626, allocations: 0 / 422.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.961e-05/0.007715, allocations: 27.11 kB / 422.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007717, allocations: 0 / 422.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.007727, allocations: 5.938 kB / 422.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.007728, allocations: 1.344 kB / 422.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007729, allocations: 3.938 kB / 422.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.008021, allocations: 283 kB / 423.1 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.008035, allocations: 8.094 kB / 423.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.008051, allocations: 5.828 kB / 423.1 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.008116, allocations: 8.594 kB / 423.1 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.008147, allocations: 6.453 kB / 423.1 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.008152, allocations: 6.281 kB / 423.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.008196, allocations: 114.5 kB / 423.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008196, allocations: 0 / 423.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.008399, allocations: 51.17 kB / 423.3 MB, free: 7.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Aplus.y,Aminus.y,P.y,C.x) * 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.0003701/0.008769, allocations: 0.8043 MB / 424.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.009035, allocations: 160.4 kB / 424.3 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009037, allocations: 1.125 kB / 424.3 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.009123, allocations: 50.02 kB / 424.3 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.009344, allocations: 32.34 kB / 424.3 MB, free: 6.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.01079, allocations: 1.866 MB / 426.2 MB, free: 5.016 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.78e-05/0.01086, allocations: 104.9 kB / 426.3 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.01092, allocations: 14.94 kB / 426.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.01097, allocations: 42.64 kB / 426.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01097, allocations: 0 / 426.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.02832, allocations: 3.98 MB / 430.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/6.632, allocations: 9.312 kB / 430.4 MB, free: 3.836 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.dz2.pipe ; mkfifo AES_AES.Devel_test_models.dz2.pipe ; head -c 1048576 < AES_AES.Devel_test_models.dz2.pipe >> ../files/AES_AES.Devel_test_models.dz2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_dz2_fmu --startTime=0 --stopTime=200 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_dz2.fmu > AES_AES.Devel_test_models.dz2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.51463292632252] Failed to read output from testmodel.py, exit status != 0: 6.71147751994431 6.721532842 6.716242566 Calling exit ...