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.001186/0.001186, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001319/0.001319, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 0.9987/0.9987, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.7963/0.7963, allocations: 203.5 MB / 0.5039 GB, free: 10.69 MB / 410.7 MB " [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: 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.001117/0.001117, allocations: 67 kB / 0.7178 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5529/0.554, allocations: 102 MB / 0.8174 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001975/0.556, allocations: 1.231 MB / 0.8186 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.5579, allocations: 1.573 MB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.558, allocations: 3.531 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.5581, allocations: 34.72 kB / 0.8202 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.5583, allocations: 84.31 kB / 0.8202 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009578/0.5592, allocations: 0.4901 MB / 0.8207 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.5598, allocations: 0.6433 MB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.56, allocations: 109 kB / 0.8215 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.5603, allocations: 258.5 kB / 0.8217 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.5605, allocations: 225.5 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.5606, allocations: 68.66 kB / 0.822 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.5607, allocations: 78.45 kB / 0.8221 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/0.5608, allocations: 84.91 kB / 0.8221 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.561, allocations: 212.7 kB / 0.8223 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007338/0.5617, allocations: 0.6858 MB / 0.823 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5617, allocations: 4 kB / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5617, allocations: 0 / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.5618, allocations: 0 / 0.823 GB, free: 13.92 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001081/0.5628, allocations: 0.8759 MB / 0.8239 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5629, allocations: 10.19 kB / 0.8239 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.991e-05/0.563, allocations: 62.16 kB / 0.8239 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.5631, allocations: 54.66 kB / 0.824 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5641, allocations: 404.7 kB / 0.8244 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.5642, allocations: 27.97 kB / 0.8244 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.5642, allocations: 39.77 kB / 0.8244 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.5648, allocations: 462.4 kB / 0.8249 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.5648, allocations: 0 / 0.8249 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.5648, allocations: 13.25 kB / 0.8249 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.5648, allocations: 6.125 kB / 0.8249 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.5653, allocations: 390.6 kB / 0.8253 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.5666, allocations: 0.7867 MB / 0.826 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.5672, allocations: 483.3 kB / 0.8265 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.5675, allocations: 393.5 kB / 0.8269 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.5676, allocations: 3.656 kB / 0.8269 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.568, allocations: 455 kB / 0.8273 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.568, allocations: 0 / 0.8273 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001232/0.5693, allocations: 1.102 MB / 0.8284 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.5694, allocations: 197.3 kB / 0.8286 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.5696, allocations: 291.5 kB / 0.8289 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.5697, allocations: 44.25 kB / 0.8289 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.5698, allocations: 171 kB / 0.8291 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-05/0.5699, allocations: 140 kB / 0.8292 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.5701, allocations: 131.1 kB / 0.8293 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5702, allocations: 349.5 kB / 0.8297 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.5708, allocations: 0.521 MB / 0.8302 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000762/0.5716, allocations: 0.6066 MB / 0.8308 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/0.5726, allocations: 0.9179 MB / 0.8317 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.5726, allocations: 5 kB / 0.8317 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001309/0.5739, allocations: 1.263 MB / 0.8329 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.574, allocations: 258.3 kB / 0.8331 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.574, allocations: 2.922 kB / 0.8331 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.574, allocations: 4.562 kB / 0.8331 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.5742, allocations: 70.91 kB / 0.8332 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5742, allocations: 5.406 kB / 0.8332 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.5747, allocations: 142 kB / 0.8334 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5749, allocations: 77.19 kB / 0.8334 GB, free: 6.684 MB / 0.6198 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.0002764/0.5751, allocations: 319.9 kB / 0.8337 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.5752, allocations: 39.08 kB / 0.8338 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.5753, allocations: 38.44 kB / 0.8338 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5753, allocations: 3.969 kB / 0.8338 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.5753, allocations: 2.234 kB / 0.8338 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5753, allocations: 2.156 kB / 0.8338 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.5767, allocations: 1.267 MB / 0.835 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.5767, allocations: 0 / 0.835 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.5768, allocations: 63.05 kB / 0.8351 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5768, allocations: 5.281 kB / 0.8351 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.5768, allocations: 16.67 kB / 0.8351 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.5769, allocations: 5.062 kB / 0.8351 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5769, allocations: 1.094 kB / 0.8351 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.5779, allocations: 0.8974 MB / 0.836 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.578, allocations: 40.12 kB / 0.8361 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.578, allocations: 13.52 kB / 0.8361 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.5782, allocations: 29.3 kB / 0.8361 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.5782, allocations: 36.92 kB / 0.8361 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/0.5783, allocations: 48.53 kB / 0.8362 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001699/0.5785, allocations: 200.9 kB / 0.8364 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5785, allocations: 0 / 0.8364 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004526/0.5789, allocations: 108.1 kB / 0.8365 GB, free: 4.695 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: 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.001086/0.58, allocations: 1.462 MB / 0.8379 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.5814, allocations: 1.441 MB / 0.8393 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5814, allocations: 0 / 0.8393 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004724/0.5818, allocations: 0.6205 MB / 0.8399 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.5823, allocations: 90.28 kB / 0.84 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.5886, allocations: 5.842 MB / 0.8457 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.5888, allocations: 193.4 kB / 0.8459 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.589, allocations: 94.75 kB / 0.846 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5892, allocations: 118.9 kB / 0.8461 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of SimCode: time 2.254e-06/0.5892, allocations: 0 / 0.8461 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.6162, allocations: 11.08 MB / 0.8569 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.776, allocations: 5 kB / 0.8569 GB, free: 7.746 MB / 0.6355 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.845133096911013] Failed to read output from testmodel.py, exit status != 0: 7.861437004990876 7.873580189 7.30993932 Calling exit ...