Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001265/0.001265, 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.00104/0.00104, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8825/0.8825, 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 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.7055/0.7055, allocations: 154.6 MB / 413.7 MB, free: 0.8438 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.Routing.Validation.RealExtractor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.287e-05, allocations: 5.375 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001657/0.00167, allocations: 1.239 MB / 0.6193 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003067, allocations: 1.575 MB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.849e-05/0.003155, allocations: 7.938 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.003263, allocations: 31.59 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.003362, allocations: 87.3 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.004102, allocations: 499 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.004551, allocations: 0.6636 MB / 0.622 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.004746, allocations: 105.3 kB / 0.6221 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.005007, allocations: 375.4 kB / 0.6225 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.005179, allocations: 198.7 kB / 0.6227 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.005235, allocations: 64 kB / 0.6227 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.005327, allocations: 72 kB / 0.6228 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.00539, allocations: 79.69 kB / 0.6229 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.005526, allocations: 195.5 kB / 0.6231 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.006005, allocations: 0.7635 MB / 0.6238 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.006008, allocations: 3.984 kB / 0.6238 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.11e-07/0.006009, allocations: 0 / 0.6238 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.006015, allocations: 0 / 0.6238 GB, free: 7.773 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.0008234/0.006839, allocations: 0.8634 MB / 0.6247 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.006874, allocations: 9.469 kB / 0.6247 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.00692, allocations: 66.72 kB / 0.6247 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.006997, allocations: 52.66 kB / 0.6248 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.007666, allocations: 412.6 kB / 0.6252 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.007692, allocations: 28.88 kB / 0.6252 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.00774, allocations: 40.38 kB / 0.6253 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.008147, allocations: 457 kB / 0.6257 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.008156, allocations: 192 / 0.6257 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.008175, allocations: 16.38 kB / 0.6257 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.008181, allocations: 7.938 kB / 0.6257 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.008691, allocations: 390.2 kB / 0.6261 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/0.009626, allocations: 0.7785 MB / 0.6268 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.01004, allocations: 479.6 kB / 0.6273 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.01035, allocations: 393.4 kB / 0.6277 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.01037, allocations: 4 kB / 0.6277 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/0.01072, allocations: 463.4 kB / 0.6281 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 2.074e-06/0.01072, allocations: 0 / 0.6281 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.0009388/0.01166, allocations: 1.096 MB / 0.6292 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.01172, allocations: 191.9 kB / 0.6294 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.01191, allocations: 296.5 kB / 0.6297 GB, free: 1.309 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.01195, allocations: 41.7 kB / 0.6297 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.01204, allocations: 165 kB / 0.6299 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.0121, allocations: 134.9 kB / 0.63 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.01224, allocations: 138.1 kB / 0.6301 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.01233, allocations: 346.8 kB / 0.6304 GB, free: 488 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.01275, allocations: 0.5236 MB / 0.631 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.0132, allocations: 0.6142 MB / 0.6316 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.01386, allocations: 0.9175 MB / 0.6325 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01386, allocations: 0 / 0.6325 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001101/0.01496, allocations: 1.265 MB / 0.6337 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/0.01505, allocations: 259.3 kB / 0.6339 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.01505, allocations: 4 kB / 0.6339 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01507, allocations: 4 kB / 0.6339 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.01521, allocations: 71.83 kB / 0.634 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01522, allocations: 8.172 kB / 0.634 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.01555, allocations: 139.6 kB / 0.6342 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.01561, allocations: 63.92 kB / 0.6342 GB, free: 12.19 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.0001681/0.01578, allocations: 327.2 kB / 0.6345 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.01581, allocations: 39.7 kB / 0.6346 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.01586, allocations: 47.42 kB / 0.6346 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01586, allocations: 4 kB / 0.6346 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01587, allocations: 4 kB / 0.6346 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.01587, allocations: 7.969 kB / 0.6346 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.01687, allocations: 1.262 MB / 0.6359 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01687, allocations: 0 / 0.6359 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.01698, allocations: 67.89 kB / 0.6359 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01699, allocations: 4 kB / 0.6359 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.017, allocations: 15.98 kB / 0.6359 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01701, allocations: 0 / 0.6359 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01701, allocations: 0 / 0.6359 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.01764, allocations: 0.8957 MB / 0.6368 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.01767, allocations: 43.59 kB / 0.6369 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.0177, allocations: 16 kB / 0.6369 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01781, allocations: 31.91 kB / 0.6369 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.01787, allocations: 35.94 kB / 0.6369 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.01791, allocations: 47.94 kB / 0.637 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001234/0.01803, allocations: 203 kB / 0.6372 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.01803, allocations: 0 / 0.6372 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002661/0.0183, allocations: 107.9 kB / 0.6373 GB, free: 8.824 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.0008651/0.01916, allocations: 1.457 MB / 0.6387 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.02026, allocations: 1.437 MB / 0.6401 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02026, allocations: 0 / 0.6401 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.02061, allocations: 0.6184 MB / 0.6407 GB, free: 4.934 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.02093, allocations: 87.2 kB / 0.6408 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.02538, allocations: 5.862 MB / 0.6465 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.0255, allocations: 193 kB / 0.6467 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.02564, allocations: 95.19 kB / 0.6468 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.02575, allocations: 112.5 kB / 0.6469 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.02575, allocations: 0 / 0.6469 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.04585, allocations: 11.16 MB / 0.6578 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.402, allocations: 8.047 kB / 0.6578 GB, free: 3.258 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.114278641529381] Failed to read output from testmodel.py, exit status != 0: 7.48579151276499 7.496215795 7.488503105 Calling exit ...