Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.001357/0.001357, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.00157/0.00157, allocations: 167.8 kB / 22.29 MB, free: 3.516 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 1.392/1.392, allocations: 177.2 MB / 202.7 MB, free: 4.82 MB / 186.7 MB " [Timeout remaining time 178] 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 1.311/1.311, allocations: 154.7 MB / 413.8 MB, free: 3.148 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 178] 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.Utilities.Validation.Assert,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",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.002106/0.002106, allocations: 64.16 kB / 0.618 GB, free: 1.051 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.21, allocations: 102 MB / 0.7176 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001919/0.2119, allocations: 0.5784 MB / 0.7182 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.2139, allocations: 1.136 MB / 0.7193 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.2139, allocations: 0 / 0.7193 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.2139, allocations: 3.938 kB / 0.7193 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.214, allocations: 7.922 kB / 0.7193 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.2145, allocations: 119.2 kB / 0.7194 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.2147, allocations: 91.83 kB / 0.7195 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.2148, allocations: 3.984 kB / 0.7195 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2149, allocations: 47.97 kB / 0.7196 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.215, allocations: 27.91 kB / 0.7196 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.215, allocations: 8 kB / 0.7196 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.2151, allocations: 27.97 kB / 0.7196 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.2152, allocations: 4 kB / 0.7196 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.2152, allocations: 27.91 kB / 0.7196 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.2154, allocations: 84.02 kB / 0.7197 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2154, allocations: 0 / 0.7197 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2154, allocations: 4 kB / 0.7197 GB, free: 9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2154, allocations: 0 / 0.7197 GB, free: 9 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000524/0.2159, allocations: 300 kB / 0.72 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.216, allocations: 12.03 kB / 0.72 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/0.216, allocations: 30.75 kB / 0.7201 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.2161, allocations: 8.891 kB / 0.7201 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2162, allocations: 118.5 kB / 0.7202 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2162, allocations: 384 / 0.7202 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.2162, allocations: 8.375 kB / 0.7202 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.2164, allocations: 63.95 kB / 0.7202 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2164, allocations: 3.938 kB / 0.7202 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2164, allocations: 0 / 0.7202 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2164, allocations: 0 / 0.7202 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.2164, allocations: 4 kB / 0.7203 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.2168, allocations: 240 kB / 0.7205 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.487e-05/0.2169, allocations: 30.45 kB / 0.7205 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.2169, allocations: 12.91 kB / 0.7205 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-06/0.2169, allocations: 0 / 0.7205 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.2171, allocations: 85.06 kB / 0.7206 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2171, allocations: 3.938 kB / 0.7206 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002047/0.2173, allocations: 69.8 kB / 0.7207 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.2174, allocations: 51.41 kB / 0.7207 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2175, allocations: 105.8 kB / 0.7208 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.2175, allocations: 29.7 kB / 0.7209 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.2176, allocations: 92.08 kB / 0.7209 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.2176, allocations: 7.938 kB / 0.7209 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.2176, allocations: 29.7 kB / 0.721 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2178, allocations: 322.8 kB / 0.7213 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.2179, allocations: 53.69 kB / 0.7213 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.218, allocations: 84.25 kB / 0.7214 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.2181, allocations: 84.19 kB / 0.7215 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2181, allocations: 0 / 0.7215 GB, free: 6.941 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003052/0.2184, allocations: 184.9 kB / 0.7217 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.2185, allocations: 33.7 kB / 0.7217 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2185, allocations: 0 / 0.7217 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2185, allocations: 4 kB / 0.7217 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-05/0.2185, allocations: 3.984 kB / 0.7217 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2185, allocations: 0 / 0.7217 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.2187, allocations: 27.91 kB / 0.7217 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.2188, allocations: 4 kB / 0.7217 GB, free: 6.664 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001089/0.2189, allocations: 129.8 kB / 0.7219 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.2189, allocations: 0 / 0.7219 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.2189, allocations: 7.984 kB / 0.7219 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2189, allocations: 4 kB / 0.7219 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2189, allocations: 0 / 0.7219 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2189, allocations: 320 / 0.7219 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.2191, allocations: 132.7 kB / 0.722 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2191, allocations: 4 kB / 0.722 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.2191, allocations: 4 kB / 0.722 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2191, allocations: 0 / 0.722 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.2191, allocations: 0 / 0.722 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2191, allocations: 4 kB / 0.722 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2191, allocations: 0 / 0.722 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.2192, allocations: 89 kB / 0.7221 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-06/0.2192, allocations: 0 / 0.7221 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2192, allocations: 4 kB / 0.7221 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.49e-05/0.2192, allocations: 0 / 0.7221 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.2193, allocations: 3.938 kB / 0.7221 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.2193, allocations: 4 kB / 0.7221 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.76e-05/0.2193, allocations: 87.27 kB / 0.7222 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2193, allocations: 3.938 kB / 0.7222 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002123/0.2196, allocations: 19.94 kB / 0.7222 GB, free: 6.102 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004909/0.22, allocations: 0.6163 MB / 0.7228 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.2203, allocations: 137 kB / 0.723 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2203, allocations: 0 / 0.723 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.2203, allocations: 11.98 kB / 0.723 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.2205, allocations: 8 kB / 0.723 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.2222, allocations: 1.494 MB / 0.7244 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.995e-05/0.2223, allocations: 67.34 kB / 0.7245 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.2223, allocations: 7.984 kB / 0.7245 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.2223, allocations: 12.5 kB / 0.7245 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of SimCode: time 4e-07/0.2223, allocations: 0 / 0.7245 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.2546, allocations: 2.719 MB / 0.7272 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.53, allocations: 5.406 kB / 0.7272 GB, free: 0.9766 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.588256178001757] Failed to read output from testmodel.py, exit status != 0: 11.63523349200841 11.654313312 11.435405322 Calling exit ...