Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008234/0.0008234, allocations: 113.3 kB / 18.93 MB, free: 1.27 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.0009453/0.0009453, allocations: 219.4 kB / 22.25 MB, free: 3.699 MB / 13.93 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.9621/0.9621, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.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.7915/0.7915, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [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.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative",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.001139/0.001139, allocations: 70.2 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4964/0.4975, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00172/0.4992, allocations: 1.065 MB / 0.819 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.5002, allocations: 1.051 MB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.5003, allocations: 6.094 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.5005, allocations: 23.06 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.5005, allocations: 17.88 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.5008, allocations: 76.03 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.501, allocations: 174 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.5011, allocations: 62.61 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.5012, allocations: 81.39 kB / 0.8204 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.5013, allocations: 79.66 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.5013, allocations: 15 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.996e-05/0.5014, allocations: 19.55 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.5014, allocations: 40.97 kB / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.5015, allocations: 79.02 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.5017, allocations: 183.3 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5017, allocations: 5.188 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5017, allocations: 0.8906 kB / 0.8208 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5017, allocations: 0 / 0.8208 GB, free: 15.32 MB / 0.6198 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.0009193/0.5026, allocations: 432 kB / 0.8212 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5027, allocations: 8.125 kB / 0.8212 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.5027, allocations: 49.5 kB / 0.8213 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/0.5028, allocations: 21.59 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.503, allocations: 167 kB / 0.8215 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.5031, allocations: 18.28 kB / 0.8215 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.5031, allocations: 21.11 kB / 0.8215 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.5033, allocations: 151.5 kB / 0.8216 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5033, allocations: 0.75 kB / 0.8216 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5033, allocations: 4 kB / 0.8216 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5033, allocations: 5.094 kB / 0.8216 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.5035, allocations: 112.4 kB / 0.8218 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.5042, allocations: 0.5045 MB / 0.8222 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.5045, allocations: 140.1 kB / 0.8224 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.687e-05/0.5046, allocations: 79.17 kB / 0.8225 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.5046, allocations: 5.109 kB / 0.8225 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.5047, allocations: 116.9 kB / 0.8226 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.5047, allocations: 4 kB / 0.8226 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0003238/0.505, allocations: 222.1 kB / 0.8228 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.5051, allocations: 53.91 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.5052, allocations: 160.8 kB / 0.823 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5052, allocations: 32.12 kB / 0.823 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.5053, allocations: 120.8 kB / 0.8231 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.5053, allocations: 72.39 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.5053, allocations: 39.66 kB / 0.8232 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.5054, allocations: 327 kB / 0.8236 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.5055, allocations: 65.48 kB / 0.8236 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.5057, allocations: 87.56 kB / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.5059, allocations: 155 kB / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5059, allocations: 0 / 0.8238 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002697/0.5061, allocations: 205 kB / 0.824 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5061, allocations: 8.016 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5062, allocations: 1.094 kB / 0.8241 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.5062, allocations: 5.094 kB / 0.8241 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.5063, allocations: 45.48 kB / 0.8241 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5063, allocations: 1.406 kB / 0.8241 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/0.5063, allocations: 26.09 kB / 0.8241 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.5064, allocations: 5.625 kB / 0.8241 GB, free: 13.01 MB / 0.6198 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 8.107e-05/0.5064, allocations: 133.9 kB / 0.8243 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.5064, allocations: 15.53 kB / 0.8243 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.5067, allocations: 191.7 kB / 0.8245 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5067, allocations: 6.344 kB / 0.8245 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5067, allocations: 0.6094 kB / 0.8245 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5067, allocations: 0.6094 kB / 0.8245 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.5073, allocations: 0.5559 MB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5073, allocations: 1.719 kB / 0.825 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.5074, allocations: 37.14 kB / 0.825 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.5074, allocations: 6.859 kB / 0.8251 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5074, allocations: 8.359 kB / 0.8251 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5074, allocations: 7.453 kB / 0.8251 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5074, allocations: 1.188 kB / 0.8251 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.5078, allocations: 383.1 kB / 0.8254 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.5078, allocations: 23.75 kB / 0.8255 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.5078, allocations: 9.266 kB / 0.8255 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.5079, allocations: 16.94 kB / 0.8255 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.5079, allocations: 29.34 kB / 0.8255 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.508, allocations: 7.125 kB / 0.8255 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.123e-05/0.508, allocations: 117.7 kB / 0.8256 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.508, allocations: 0 / 0.8256 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000182/0.5082, allocations: 36.8 kB / 0.8257 GB, free: 11.95 MB / 0.6198 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.0005544/0.5087, allocations: 0.9131 MB / 0.8266 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.509, allocations: 158.3 kB / 0.8267 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.509, allocations: 1.344 kB / 0.8267 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.5091, allocations: 75.55 kB / 0.8268 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.5094, allocations: 34.8 kB / 0.8268 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.5112, allocations: 2.134 MB / 0.8289 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.5114, allocations: 0.7248 MB / 0.8296 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.08e-05/0.5114, allocations: 19.36 kB / 0.8296 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.5115, allocations: 51.45 kB / 0.8297 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.5115, allocations: 0 / 0.8297 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.5338, allocations: 3.841 MB / 0.8334 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.545, allocations: 3.281 kB / 0.8334 GB, free: 8.113 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.36869312194176] Failed to read output from testmodel.py, exit status != 0: 7.621734770946205 7.632553275 7.128786337 Calling exit ...