Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.001077/0.001077, allocations: 80.45 kB / 19.15 MB, free: 0.7734 MB / 13.93 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.001032/0.001032, allocations: 162 kB / 22.43 MB, free: 2.137 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.8948/0.8948, allocations: 177.2 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.688/0.688, allocations: 155 MB / 414.2 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009522/0.0009522, allocations: 75.86 kB / 0.6187 GB, free: 13.16 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4249, allocations: 102 MB / 0.7183 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001777/0.4266, allocations: 1.014 MB / 0.7193 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.4276, allocations: 0.9812 MB / 0.7203 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.4277, allocations: 2.688 kB / 0.7203 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.337e-05/0.4277, allocations: 18.14 kB / 0.7203 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.4279, allocations: 45.67 kB / 0.7203 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.428, allocations: 73.25 kB / 0.7204 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.4283, allocations: 230.9 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.4284, allocations: 52.39 kB / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.4286, allocations: 137.8 kB / 0.7208 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.4288, allocations: 102.3 kB / 0.7209 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.4288, allocations: 23.05 kB / 0.7209 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.4288, allocations: 19.03 kB / 0.7209 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.4289, allocations: 47.81 kB / 0.721 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.4289, allocations: 67.77 kB / 0.7211 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.4292, allocations: 250.9 kB / 0.7213 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4292, allocations: 0 / 0.7213 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4292, allocations: 1.031 kB / 0.7213 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.4292, allocations: 1.156 kB / 0.7213 GB, free: 21.28 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007871/0.43, allocations: 0.4989 MB / 0.7218 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4301, allocations: 11.88 kB / 0.7218 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.4301, allocations: 46.48 kB / 0.7218 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.4302, allocations: 22.77 kB / 0.7219 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.4303, allocations: 170.1 kB / 0.722 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4303, allocations: 9.75 kB / 0.722 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.4304, allocations: 14.22 kB / 0.722 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.4309, allocations: 241.5 kB / 0.7223 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4309, allocations: 3.938 kB / 0.7223 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.4309, allocations: 5.641 kB / 0.7223 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4309, allocations: 3.469 kB / 0.7223 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.4315, allocations: 291.6 kB / 0.7226 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.4321, allocations: 426.1 kB / 0.723 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.4325, allocations: 237.2 kB / 0.7232 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.4329, allocations: 183.1 kB / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.4329, allocations: 2.938 kB / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.4329, allocations: 32.66 kB / 0.7234 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.4329, allocations: 0 / 0.7234 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.001101/0.434, allocations: 0.5042 MB / 0.7239 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.434, allocations: 54.38 kB / 0.724 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4341, allocations: 177.5 kB / 0.7241 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4342, allocations: 30.77 kB / 0.7241 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.4342, allocations: 131.1 kB / 0.7243 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.4343, allocations: 59.06 kB / 0.7243 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.4343, allocations: 35.45 kB / 0.7244 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.4344, allocations: 324.8 kB / 0.7247 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.4347, allocations: 151.9 kB / 0.7248 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.435, allocations: 222 kB / 0.725 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.4356, allocations: 304.2 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.4356, allocations: 1.094 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006933/0.4363, allocations: 367 kB / 0.7257 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4364, allocations: 8.625 kB / 0.7257 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4364, allocations: 5.672 kB / 0.7257 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4364, allocations: 1.156 kB / 0.7257 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.4366, allocations: 72.58 kB / 0.7258 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4366, allocations: 1.156 kB / 0.7258 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.4368, allocations: 65.97 kB / 0.7258 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.4368, allocations: 3.734 kB / 0.7258 GB, free: 18.89 MB / 0.6355 GB 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 (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 prepare postOptimizeDAE: time 7.07e-05/0.4369, allocations: 132.6 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.4369, allocations: 15.88 kB / 0.726 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.4369, allocations: 28.25 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4369, allocations: 1.25 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4369, allocations: 1.062 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4369, allocations: 1.547 kB / 0.726 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.4371, allocations: 217.4 kB / 0.7262 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4371, allocations: 0.9688 kB / 0.7262 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.4373, allocations: 71.52 kB / 0.7263 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4373, allocations: 6.047 kB / 0.7263 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4373, allocations: 13.19 kB / 0.7263 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4373, allocations: 0.7031 kB / 0.7263 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4374, allocations: 1.188 kB / 0.7263 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4384, allocations: 0.6281 MB / 0.7269 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.4384, allocations: 18.06 kB / 0.7269 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4385, allocations: 5.734 kB / 0.7269 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.4386, allocations: 55.64 kB / 0.727 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.4387, allocations: 25.59 kB / 0.727 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4387, allocations: 7.062 kB / 0.727 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.4388, allocations: 132.1 kB / 0.7271 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4388, allocations: 5.094 kB / 0.7271 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001861/0.439, allocations: 42.58 kB / 0.7272 GB, free: 18.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.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 (17): * Single equations (assignments): 17 * 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.001182/0.4401, allocations: 1.17 MB / 0.7283 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007719/0.4409, allocations: 332.1 kB / 0.7286 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4409, allocations: 1.438 kB / 0.7286 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.4413, allocations: 161.4 kB / 0.7288 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.4416, allocations: 38 kB / 0.7288 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.4444, allocations: 2.532 MB / 0.7313 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.507e-05/0.4445, allocations: 115.1 kB / 0.7314 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.87e-05/0.4445, allocations: 13.61 kB / 0.7314 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.4446, allocations: 64.12 kB / 0.7315 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of SimCode: time 9.91e-07/0.4446, allocations: 0 / 0.7315 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.4643, allocations: 5.648 MB / 0.737 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/7.177, allocations: 7.938 kB / 0.737 GB, free: 14.39 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.775926356902346] Failed to read output from testmodel.py, exit status != 0: 7.256326033966616 7.266379789 6.835140721 Calling exit ...