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.0007353/0.0007353, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007763/0.0007763, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9114/0.9114, allocations: 177.1 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.7113/0.7113, allocations: 154.6 MB / 413.8 MB, free: 0.793 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 1.493e-06/1.493e-06, allocations: 0 / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.587e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001444/0.00146, allocations: 1.004 MB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009489/0.002409, allocations: 1.022 MB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.002496, allocations: 4 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.002608, allocations: 19.73 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.002657, allocations: 31.72 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.0029, allocations: 67.8 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.003042, allocations: 188.1 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.003176, allocations: 64.41 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.003283, allocations: 107.8 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.003357, allocations: 55.8 kB / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.003387, allocations: 16 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.91e-05/0.003436, allocations: 23.92 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.003466, allocations: 39.84 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.003505, allocations: 47.89 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.003701, allocations: 199.3 kB / 0.621 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003702, allocations: 0 / 0.621 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003703, allocations: 4 kB / 0.621 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003708, allocations: 0 / 0.621 GB, free: 10.73 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.0005453/0.004253, allocations: 422.4 kB / 0.6214 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.004292, allocations: 12.03 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.00433, allocations: 46.73 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.004409, allocations: 24.83 kB / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.004612, allocations: 166 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.004626, allocations: 12.38 kB / 0.6216 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.004651, allocations: 20.38 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.004874, allocations: 168.5 kB / 0.6218 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.004882, allocations: 192 / 0.6218 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.004898, allocations: 11.94 kB / 0.6218 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004903, allocations: 0 / 0.6218 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.00506, allocations: 115.7 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.005707, allocations: 479.3 kB / 0.6224 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.005954, allocations: 122.7 kB / 0.6225 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.00605, allocations: 84.8 kB / 0.6226 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.006071, allocations: 8 kB / 0.6226 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.006229, allocations: 151 kB / 0.6227 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 1.914e-06/0.006231, allocations: 7.922 kB / 0.6227 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0003357/0.006567, allocations: 222.7 kB / 0.623 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.006592, allocations: 55.41 kB / 0.623 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.383e-05/0.006686, allocations: 166.2 kB / 0.6232 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.006702, allocations: 33.7 kB / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.006754, allocations: 112.5 kB / 0.6233 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.006874, allocations: 71.42 kB / 0.6234 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.006919, allocations: 37.7 kB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.006996, allocations: 330.8 kB / 0.6237 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.007104, allocations: 67.91 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.007215, allocations: 88.91 kB / 0.6239 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.00741, allocations: 152.3 kB / 0.624 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007413, allocations: 0 / 0.624 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002547/0.007668, allocations: 213.4 kB / 0.6242 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.007682, allocations: 10.03 kB / 0.6242 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.007686, allocations: 0 / 0.6242 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.007696, allocations: 0 / 0.6242 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.007795, allocations: 51.94 kB / 0.6243 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.007799, allocations: 0 / 0.6243 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.007859, allocations: 19.88 kB / 0.6243 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.00787, allocations: 12 kB / 0.6243 GB, free: 7.09 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 7.017e-05/0.00794, allocations: 126.8 kB / 0.6244 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.007952, allocations: 15.91 kB / 0.6245 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.008187, allocations: 201.2 kB / 0.6246 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.008189, allocations: 4 kB / 0.6246 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.008192, allocations: 0 / 0.6246 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008196, allocations: 0 / 0.6246 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.008663, allocations: 0.5363 MB / 0.6252 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.008664, allocations: 192 / 0.6252 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/0.00875, allocations: 43.98 kB / 0.6252 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008753, allocations: 4 kB / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.008762, allocations: 3.938 kB / 0.6252 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.008768, allocations: 11.92 kB / 0.6252 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.00877, allocations: 4 kB / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.009098, allocations: 376.4 kB / 0.6256 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.009115, allocations: 23.78 kB / 0.6256 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.009133, allocations: 15.98 kB / 0.6256 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.009214, allocations: 15.97 kB / 0.6256 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.009258, allocations: 23.91 kB / 0.6257 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.009268, allocations: 8 kB / 0.6257 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.585e-05/0.009324, allocations: 125.7 kB / 0.6258 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009324, allocations: 0 / 0.6258 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001678/0.009492, allocations: 28 kB / 0.6258 GB, free: 5.434 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.0004839/0.009976, allocations: 0.9195 MB / 0.6267 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.01022, allocations: 151.9 kB / 0.6269 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01022, allocations: 4 kB / 0.6269 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.01032, allocations: 84.28 kB / 0.627 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.01054, allocations: 19.98 kB / 0.627 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.01213, allocations: 2.124 MB / 0.629 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.907e-05/0.0122, allocations: 112.3 kB / 0.6292 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.783e-05/0.01225, allocations: 17.48 kB / 0.6292 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.01232, allocations: 56.48 kB / 0.6292 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01232, allocations: 0 / 0.6292 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.02914, allocations: 4.382 MB / 0.6335 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/6.72, allocations: 6.625 kB / 0.6335 GB, free: 13.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 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.366311833262444] Failed to read output from testmodel.py, exit status != 0: 6.803125740028918 6.812574238 6.807175007 Calling exit ...