Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009499/0.0009499, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.000765/0.000765, allocations: 162 kB / 22.43 MB, free: 2.145 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.8965/0.8965, allocations: 177.2 MB / 202.8 MB, free: 5.789 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7356/0.7356, allocations: 154.9 MB / 414.2 MB, free: 0.5195 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.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_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.001116/0.001116, allocations: 67.66 kB / 0.6186 GB, free: 13.38 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4587, allocations: 102 MB / 0.7182 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001485/0.4602, allocations: 0.5796 MB / 0.7187 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009883/0.4612, allocations: 1.136 MB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4612, allocations: 1.375 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.4613, allocations: 7.938 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.4613, allocations: 6.641 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.4618, allocations: 114.6 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.462, allocations: 98.66 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4621, allocations: 3.703 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.4622, allocations: 45.55 kB / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.4624, allocations: 30.7 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.4624, allocations: 7.219 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.4625, allocations: 24.98 kB / 0.7202 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.4625, allocations: 6.281 kB / 0.7202 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.4626, allocations: 26.38 kB / 0.7202 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.4629, allocations: 101.8 kB / 0.7203 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4629, allocations: 0 / 0.7203 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.176e-06/0.4629, allocations: 0.9062 kB / 0.7203 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4629, allocations: 0 / 0.7203 GB, free: 21.83 MB / 0.6355 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.0004392/0.4633, allocations: 299.9 kB / 0.7206 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4634, allocations: 11.5 kB / 0.7206 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.368e-05/0.4634, allocations: 35.72 kB / 0.7206 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.4634, allocations: 10.31 kB / 0.7206 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.845e-05/0.4635, allocations: 109.3 kB / 0.7207 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4635, allocations: 2.938 kB / 0.7207 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.4635, allocations: 8.719 kB / 0.7208 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/0.4636, allocations: 61.42 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4636, allocations: 3.938 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4637, allocations: 0.9375 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4637, allocations: 0.7031 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.4637, allocations: 8.328 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.464, allocations: 247.5 kB / 0.7211 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.781e-05/0.464, allocations: 21.38 kB / 0.7211 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.27e-05/0.464, allocations: 11.7 kB / 0.7211 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.4641, allocations: 4.969 kB / 0.7211 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.4642, allocations: 92.5 kB / 0.7212 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4642, allocations: 0 / 0.7212 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.4644, allocations: 73.19 kB / 0.7213 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.4644, allocations: 53.16 kB / 0.7213 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.4644, allocations: 109.2 kB / 0.7214 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4644, allocations: 28.67 kB / 0.7214 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.4645, allocations: 82.92 kB / 0.7215 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.4645, allocations: 9.656 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.4645, allocations: 34.06 kB / 0.7216 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.4646, allocations: 314.7 kB / 0.7219 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.4646, allocations: 59.14 kB / 0.7219 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.4647, allocations: 77.55 kB / 0.722 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.4647, allocations: 88.09 kB / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4647, allocations: 0 / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000167/0.4649, allocations: 177.3 kB / 0.7222 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.4649, allocations: 34.03 kB / 0.7223 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4649, allocations: 5.859 kB / 0.7223 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.465, allocations: 1.156 kB / 0.7223 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.691e-05/0.465, allocations: 1.75 kB / 0.7223 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.465, allocations: 5.234 kB / 0.7223 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.4651, allocations: 28.81 kB / 0.7223 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.4651, allocations: 5.734 kB / 0.7223 GB, free: 19.86 MB / 0.6355 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 5.712e-05/0.4652, allocations: 121.8 kB / 0.7224 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-06/0.4652, allocations: 6.25 kB / 0.7224 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.4652, allocations: 10.08 kB / 0.7225 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4652, allocations: 0.5625 kB / 0.7225 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4652, allocations: 1.5 kB / 0.7225 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4652, allocations: 0 / 0.7225 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.178e-05/0.4653, allocations: 134.3 kB / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4653, allocations: 1.156 kB / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-06/0.4653, allocations: 0.5156 kB / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4653, allocations: 2.156 kB / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.4653, allocations: 0 / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.4653, allocations: 1.125 kB / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4653, allocations: 0.8281 kB / 0.7226 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.818e-05/0.4654, allocations: 90.75 kB / 0.7227 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.4654, allocations: 5.625 kB / 0.7227 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.4654, allocations: 5.922 kB / 0.7227 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-06/0.4654, allocations: 3.938 kB / 0.7227 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.4655, allocations: 3.828 kB / 0.7227 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4655, allocations: 5.125 kB / 0.7227 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.064e-05/0.4655, allocations: 86.28 kB / 0.7228 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4655, allocations: 0 / 0.7228 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001364/0.4656, allocations: 15.62 kB / 0.7228 GB, free: 19.39 MB / 0.6355 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.0002273/0.4658, allocations: 0.6232 MB / 0.7234 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.466, allocations: 137.3 kB / 0.7235 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.466, allocations: 1.094 kB / 0.7235 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.123e-05/0.466, allocations: 11.09 kB / 0.7235 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.4662, allocations: 7.484 kB / 0.7236 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.4671, allocations: 1.49 MB / 0.725 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.4672, allocations: 61.61 kB / 0.7251 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.4672, allocations: 6.953 kB / 0.7251 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.4672, allocations: 15.94 kB / 0.7251 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4672, allocations: 0 / 0.7251 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.4829, allocations: 2.722 MB / 0.7277 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.754/7.237, allocations: 1.375 kB / 0.7278 GB, free: 16.24 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.04569102905225] Failed to read output from testmodel.py, exit status != 0: 7.3179439950035885 7.334943116 6.869162762 Calling exit ...