Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.001125/0.001125, 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.0009429/0.0009429, 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.9154/0.9154, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7373/0.7373, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Derivative,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.388e-06/4.388e-06, allocations: 0 / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.615e-05/4.054e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003215/0.003255, allocations: 0.9978 MB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.004912, allocations: 1.034 MB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.005064, allocations: 4 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.005235, allocations: 19.73 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.011e-05/0.005316, allocations: 23.8 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.005719, allocations: 71.84 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.005965, allocations: 184 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.006161, allocations: 68.39 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.006354, allocations: 107.8 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.006468, allocations: 51.86 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.006503, allocations: 16 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.795e-05/0.006571, allocations: 23.94 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.006614, allocations: 39.83 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.006677, allocations: 51.83 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.006984, allocations: 191.3 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.006989, allocations: 4 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.744e-06/0.00699, allocations: 0 / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.006997, allocations: 4 kB / 0.621 GB, free: 10.7 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008032/0.0078, allocations: 426.3 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.007849, allocations: 8.031 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.007903, allocations: 46.73 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.008027, allocations: 20.84 kB / 0.6215 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.008379, allocations: 170 kB / 0.6216 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.008399, allocations: 12.38 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.008436, allocations: 20.38 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.008753, allocations: 176.4 kB / 0.6218 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.008763, allocations: 192 / 0.6218 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.008785, allocations: 11.94 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.008792, allocations: 4 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.009021, allocations: 103.8 kB / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000963/0.009984, allocations: 487.2 kB / 0.6224 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.01031, allocations: 132.8 kB / 0.6225 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.01042, allocations: 80.81 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.01045, allocations: 4 kB / 0.6226 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.01065, allocations: 151.2 kB / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 1.973e-06/0.01065, allocations: 0 / 0.6227 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0003742/0.01102, allocations: 221.5 kB / 0.623 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.01106, allocations: 51.41 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.01117, allocations: 166.2 kB / 0.6232 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01118, allocations: 33.7 kB / 0.6232 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.01125, allocations: 116.5 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.0113, allocations: 67.44 kB / 0.6234 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.01136, allocations: 37.7 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01146, allocations: 326.8 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.01158, allocations: 67.95 kB / 0.6238 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.01169, allocations: 85.12 kB / 0.6239 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.01214, allocations: 156.6 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01215, allocations: 7.984 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003106/0.01246, allocations: 209.4 kB / 0.6242 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.01248, allocations: 8 kB / 0.6242 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01249, allocations: 0 / 0.6242 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.0125, allocations: 0 / 0.6242 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01261, allocations: 55.88 kB / 0.6243 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.01262, allocations: 0 / 0.6243 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.075e-05/0.01269, allocations: 23.88 kB / 0.6243 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.0127, allocations: 8 kB / 0.6243 GB, free: 7.066 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001145/0.01282, allocations: 130.7 kB / 0.6244 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.01284, allocations: 11.91 kB / 0.6245 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.01318, allocations: 199.7 kB / 0.6246 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.01319, allocations: 3.984 kB / 0.6246 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.0132, allocations: 0 / 0.6246 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.01321, allocations: 3.984 kB / 0.6246 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.01379, allocations: 0.5296 MB / 0.6252 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01379, allocations: 4.188 kB / 0.6252 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.0139, allocations: 39.91 kB / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.0139, allocations: 8 kB / 0.6252 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01392, allocations: 8 kB / 0.6252 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.01392, allocations: 3.938 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.01392, allocations: 4 kB / 0.6252 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.01431, allocations: 385.7 kB / 0.6256 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.01433, allocations: 23.84 kB / 0.6256 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01435, allocations: 11.94 kB / 0.6256 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.01442, allocations: 12.03 kB / 0.6256 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.01448, allocations: 23.95 kB / 0.6257 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.01449, allocations: 11.94 kB / 0.6257 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.01456, allocations: 121.7 kB / 0.6258 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01456, allocations: 0 / 0.6258 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002074/0.01476, allocations: 32 kB / 0.6258 GB, free: 5.41 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0006175/0.01538, allocations: 0.9124 MB / 0.6267 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.01565, allocations: 158.8 kB / 0.6269 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01565, allocations: 0 / 0.6269 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01576, allocations: 88.14 kB / 0.627 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01601, allocations: 20 kB / 0.627 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.01795, allocations: 2.118 MB / 0.629 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.01804, allocations: 108.3 kB / 0.6291 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.283e-05/0.0181, allocations: 17.48 kB / 0.6292 GB, free: 1.805 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.01819, allocations: 60.47 kB / 0.6292 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/0.01819, allocations: 3.938 kB / 0.6292 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.04225, allocations: 4.383 MB / 0.6335 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.142, allocations: 2.344 kB / 0.6335 GB, free: 13.54 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.991445685736835] Failed to read output from testmodel.py, exit status != 0: 7.229197019711137 7.241155989 7.2321724099999996 Calling exit ...