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.0009032/0.0009032, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000867/0.000867, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.95/0.95, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7385/0.7385, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 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: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.594e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001632/0.001658, allocations: 1.009 MB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.002722, allocations: 0.9988 MB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.002792, allocations: 0 / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.019e-05/0.002832, allocations: 15.75 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.00295, allocations: 43.59 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.003132, allocations: 67.91 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.00333, allocations: 231.3 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.003456, allocations: 49.2 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.003583, allocations: 139.7 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.882e-05/0.003682, allocations: 83.75 kB / 0.6207 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.175e-05/0.003723, allocations: 20 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.003746, allocations: 20 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.003782, allocations: 43.83 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.00383, allocations: 59.83 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.004013, allocations: 231.2 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004015, allocations: 0 / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004016, allocations: 4 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.00402, allocations: 0 / 0.621 GB, free: 10.64 MB / 0.5886 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.0006952/0.004715, allocations: 0.4894 MB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.004757, allocations: 9.469 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.004796, allocations: 54.73 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.004834, allocations: 20.8 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.005005, allocations: 161.4 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.00502, allocations: 16.31 kB / 0.6218 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.005049, allocations: 12.38 kB / 0.6218 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.005497, allocations: 242 kB / 0.622 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.005507, allocations: 192 / 0.622 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.005522, allocations: 4.375 kB / 0.622 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.005531, allocations: 8.125 kB / 0.622 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000579/0.00611, allocations: 291.7 kB / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.006632, allocations: 427.5 kB / 0.6227 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.007198, allocations: 238.3 kB / 0.6229 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.00751, allocations: 184.7 kB / 0.6231 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.007535, allocations: 0 / 0.6231 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.007555, allocations: 34.56 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.031e-06/0.007556, allocations: 4 kB / 0.6232 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17): time 0.000971/0.008527, allocations: 0.4951 MB / 0.6236 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.008562, allocations: 63.34 kB / 0.6237 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.008681, allocations: 173.1 kB / 0.6239 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.008697, allocations: 29.7 kB / 0.6239 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.008756, allocations: 128.5 kB / 0.624 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.008797, allocations: 63.44 kB / 0.6241 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.008844, allocations: 33.66 kB / 0.6241 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.008926, allocations: 330.8 kB / 0.6244 GB, free: 7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.00922, allocations: 147.8 kB / 0.6246 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.009536, allocations: 231.9 kB / 0.6248 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.01009, allocations: 292.6 kB / 0.6251 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01009, allocations: 0 / 0.6251 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006322/0.01072, allocations: 367 kB / 0.6254 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.01074, allocations: 8 kB / 0.6254 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01075, allocations: 0 / 0.6254 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.01076, allocations: 0 / 0.6254 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.01097, allocations: 79.91 kB / 0.6255 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.01098, allocations: 3.938 kB / 0.6255 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.01113, allocations: 55.88 kB / 0.6256 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.01114, allocations: 8 kB / 0.6256 GB, free: 5.805 MB / 0.5886 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 8.404e-05/0.01122, allocations: 126.8 kB / 0.6257 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.01125, allocations: 27.83 kB / 0.6257 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.01128, allocations: 21.81 kB / 0.6257 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01128, allocations: 3.984 kB / 0.6257 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.01129, allocations: 3.938 kB / 0.6257 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.0113, allocations: 4 kB / 0.6257 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.01148, allocations: 216.6 kB / 0.6259 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01148, allocations: 0 / 0.6259 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.01168, allocations: 79.91 kB / 0.626 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01169, allocations: 4 kB / 0.626 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.0117, allocations: 4 kB / 0.626 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.0117, allocations: 0 / 0.626 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.0117, allocations: 7.875 kB / 0.626 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/0.0127, allocations: 0.6262 MB / 0.6266 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.01272, allocations: 23.83 kB / 0.6267 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.01274, allocations: 0 / 0.6267 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.0129, allocations: 55.98 kB / 0.6267 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.01297, allocations: 31.89 kB / 0.6268 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.01298, allocations: 8 kB / 0.6268 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.037e-05/0.01305, allocations: 128.3 kB / 0.6269 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01305, allocations: 0 / 0.6269 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000186/0.01323, allocations: 36 kB / 0.6269 GB, free: 4.344 MB / 0.5886 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.001274/0.01451, allocations: 1.173 MB / 0.6281 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006721/0.01518, allocations: 317.9 kB / 0.6284 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.01518, allocations: 4 kB / 0.6284 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.01549, allocations: 167.8 kB / 0.6285 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.01582, allocations: 35.86 kB / 0.6286 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.0188, allocations: 2.533 MB / 0.631 GB, free: 20 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.01889, allocations: 120.1 kB / 0.6312 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.477e-05/0.01896, allocations: 13.14 kB / 0.6312 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.844e-05/0.01906, allocations: 64.48 kB / 0.6312 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of SimCode: time 1.593e-06/0.01906, allocations: 0 / 0.6312 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.04058, allocations: 5.633 MB / 0.6367 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/6.881, allocations: 10.72 kB / 0.6367 GB, free: 10.36 MB / 0.6042 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.69016008451581] Failed to read output from testmodel.py, exit status != 0: 6.963682464323938 6.974850782 6.969043455 Calling exit ...