Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.000773/0.000773, 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.0008921/0.0008921, allocations: 165.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.9254/0.9254, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7372/0.7372, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.Routing.Validation.RealExtractor,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.908e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001722/0.001741, allocations: 1.23 MB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.003486, allocations: 1.583 MB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.003623, allocations: 11.94 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.003763, allocations: 31.59 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.00388, allocations: 83.31 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009536/0.004833, allocations: 498.2 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006431/0.005476, allocations: 0.6714 MB / 0.6221 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.005721, allocations: 109.3 kB / 0.6222 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.00606, allocations: 367.5 kB / 0.6226 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.00626, allocations: 203.4 kB / 0.6228 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.006325, allocations: 64 kB / 0.6228 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-05/0.006421, allocations: 68 kB / 0.6229 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.006492, allocations: 87.67 kB / 0.623 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.00663, allocations: 183.6 kB / 0.6231 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.007177, allocations: 0.7674 MB / 0.6239 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00718, allocations: 0 / 0.6239 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.103e-06/0.007181, allocations: 0 / 0.6239 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.007187, allocations: 4 kB / 0.6239 GB, free: 7.703 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008872/0.008075, allocations: 0.8672 MB / 0.6247 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.008112, allocations: 12.02 kB / 0.6247 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.008158, allocations: 58.73 kB / 0.6248 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.008237, allocations: 56.66 kB / 0.6249 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/0.009097, allocations: 404.7 kB / 0.6252 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.009132, allocations: 24.88 kB / 0.6253 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.009185, allocations: 40.38 kB / 0.6253 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.009609, allocations: 461 kB / 0.6257 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.009619, allocations: 192 / 0.6257 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.009638, allocations: 12.38 kB / 0.6258 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.009647, allocations: 7.938 kB / 0.6258 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.01005, allocations: 390.2 kB / 0.6261 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.01106, allocations: 0.7785 MB / 0.6269 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.01149, allocations: 487.7 kB / 0.6274 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.01179, allocations: 394.8 kB / 0.6277 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.01181, allocations: 4 kB / 0.6277 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.01217, allocations: 463.4 kB / 0.6282 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 1.763e-06/0.01217, allocations: 0 / 0.6282 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.0009754/0.01314, allocations: 1.103 MB / 0.6293 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.01321, allocations: 187.9 kB / 0.6294 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.01342, allocations: 296.5 kB / 0.6297 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.01346, allocations: 45.64 kB / 0.6298 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.01355, allocations: 168.9 kB / 0.6299 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.01362, allocations: 134.9 kB / 0.6301 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.01375, allocations: 138.1 kB / 0.6302 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.01384, allocations: 346.8 kB / 0.6305 GB, free: 416 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.01428, allocations: 0.5197 MB / 0.631 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.01473, allocations: 0.6142 MB / 0.6316 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008197/0.01555, allocations: 0.9175 MB / 0.6325 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.01556, allocations: 0 / 0.6325 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001281/0.01684, allocations: 1.265 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.01698, allocations: 255.3 kB / 0.634 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.01699, allocations: 4 kB / 0.634 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01701, allocations: 4 kB / 0.634 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.01718, allocations: 76.11 kB / 0.6341 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.01719, allocations: 7.984 kB / 0.6341 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.01755, allocations: 139.6 kB / 0.6342 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.01762, allocations: 71.92 kB / 0.6343 GB, free: 12.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001945/0.01782, allocations: 314.8 kB / 0.6346 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.01785, allocations: 43.7 kB / 0.6346 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.633e-05/0.01792, allocations: 47.47 kB / 0.6347 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01792, allocations: 4 kB / 0.6347 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.01793, allocations: 4 kB / 0.6347 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.01794, allocations: 3.984 kB / 0.6347 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.01901, allocations: 1.257 MB / 0.6359 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01901, allocations: 0 / 0.6359 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.01913, allocations: 67.89 kB / 0.636 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.01913, allocations: 3.938 kB / 0.636 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.01915, allocations: 15.98 kB / 0.636 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01915, allocations: 0 / 0.636 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01915, allocations: 0 / 0.636 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.01984, allocations: 0.9035 MB / 0.6369 GB, free: 9.227 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.01987, allocations: 35.66 kB / 0.6369 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.0199, allocations: 16 kB / 0.6369 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.02, allocations: 31.89 kB / 0.637 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.02007, allocations: 31.95 kB / 0.637 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.02012, allocations: 47.94 kB / 0.637 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001296/0.02025, allocations: 207 kB / 0.6372 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02025, allocations: 0 / 0.6372 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002844/0.02053, allocations: 103.9 kB / 0.6373 GB, free: 8.762 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.000975/0.0215, allocations: 1.457 MB / 0.6388 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.02256, allocations: 1.441 MB / 0.6402 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02257, allocations: 0 / 0.6402 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.02297, allocations: 0.6232 MB / 0.6408 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.02332, allocations: 80.59 kB / 0.6408 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.0281, allocations: 5.857 MB / 0.6466 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.02822, allocations: 193 kB / 0.6468 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.02836, allocations: 91.19 kB / 0.6468 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.02847, allocations: 120.5 kB / 0.647 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.02847, allocations: 3.938 kB / 0.647 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.04945, allocations: 11.14 MB / 0.6578 GB, free: 3.215 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.119/7.168, allocations: 3.094 kB / 0.6578 GB, free: 3.215 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.02435932867229] Failed to read output from testmodel.py, exit status != 0: 7.256731145083904 7.269117526 7.259259343 Calling exit ...