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.0007728/0.0007728, 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.0008361/0.0008361, allocations: 165.9 kB / 22.45 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.913/0.913, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7475/0.7475, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.465e-06/2.465e-06, allocations: 0 / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/2.027e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001842/0.001862, allocations: 1.233 MB / 0.6193 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.003617, allocations: 1.579 MB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.003726, allocations: 7.938 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.003842, allocations: 31.59 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.003953, allocations: 87.31 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.004815, allocations: 0.4995 MB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.005369, allocations: 0.6558 MB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.005581, allocations: 109.3 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.005871, allocations: 375.4 kB / 0.6226 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.006057, allocations: 191.5 kB / 0.6227 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.006119, allocations: 68 kB / 0.6228 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.525e-05/0.006214, allocations: 75.98 kB / 0.6229 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.006284, allocations: 83.62 kB / 0.623 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.006428, allocations: 191.6 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.00692, allocations: 0.7635 MB / 0.6239 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006922, allocations: 0 / 0.6239 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006923, allocations: 0 / 0.6239 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.006929, allocations: 0 / 0.6239 GB, free: 7.586 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.001084/0.008013, allocations: 0.8633 MB / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.008048, allocations: 12.03 kB / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.008093, allocations: 66.72 kB / 0.6248 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.008168, allocations: 56.59 kB / 0.6249 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.008869, allocations: 404.7 kB / 0.6252 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.008899, allocations: 28.88 kB / 0.6253 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.008949, allocations: 40.38 kB / 0.6253 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.009382, allocations: 453 kB / 0.6257 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.00939, allocations: 192 / 0.6257 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.009409, allocations: 12.38 kB / 0.6258 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.009416, allocations: 7.938 kB / 0.6258 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.009802, allocations: 390.2 kB / 0.6261 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.0108, allocations: 0.7863 MB / 0.6269 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.01125, allocations: 475.6 kB / 0.6274 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.01158, allocations: 400.8 kB / 0.6277 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.01159, allocations: 4 kB / 0.6277 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003706/0.01196, allocations: 463.4 kB / 0.6282 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/0.01197, allocations: 0 / 0.6282 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.001062/0.01303, allocations: 1.103 MB / 0.6293 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.0131, allocations: 195.9 kB / 0.6294 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.0133, allocations: 288.5 kB / 0.6297 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.01334, allocations: 41.7 kB / 0.6298 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01344, allocations: 164.9 kB / 0.6299 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.01351, allocations: 138.9 kB / 0.6301 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.01366, allocations: 134.1 kB / 0.6302 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.01375, allocations: 350.8 kB / 0.6305 GB, free: 296 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.01439, allocations: 0.5197 MB / 0.631 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.01485, allocations: 0.6103 MB / 0.6316 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.01554, allocations: 0.9214 MB / 0.6325 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01555, allocations: 3.938 kB / 0.6325 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001036/0.01658, allocations: 1.269 MB / 0.6338 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/0.01668, allocations: 259.3 kB / 0.634 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01668, allocations: 0 / 0.634 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.0167, allocations: 8 kB / 0.634 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.01685, allocations: 67.83 kB / 0.6341 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01685, allocations: 8 kB / 0.6341 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.01722, allocations: 143.6 kB / 0.6342 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.01729, allocations: 67.92 kB / 0.6343 GB, free: 11.99 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.0001806/0.01747, allocations: 326.8 kB / 0.6346 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.0175, allocations: 43.64 kB / 0.6346 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.01755, allocations: 39.48 kB / 0.6347 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01755, allocations: 4 kB / 0.6347 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.01756, allocations: 0 / 0.6347 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01756, allocations: 7.984 kB / 0.6347 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.01864, allocations: 1.257 MB / 0.6359 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01864, allocations: 0 / 0.6359 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.01876, allocations: 63.89 kB / 0.636 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01877, allocations: 0 / 0.636 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.01879, allocations: 16 kB / 0.636 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01879, allocations: 7.984 kB / 0.636 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01879, allocations: 0 / 0.636 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.01948, allocations: 0.8918 MB / 0.6369 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.01951, allocations: 43.66 kB / 0.6369 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.01954, allocations: 8 kB / 0.6369 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01965, allocations: 35.91 kB / 0.637 GB, free: 9.027 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.01971, allocations: 35.94 kB / 0.637 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.01976, allocations: 47.94 kB / 0.637 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001305/0.01989, allocations: 203 kB / 0.6372 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.01989, allocations: 0 / 0.6372 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005327/0.02042, allocations: 107.9 kB / 0.6373 GB, free: 8.641 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.0009056/0.02133, allocations: 1.46 MB / 0.6388 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009943/0.02232, allocations: 1.433 MB / 0.6402 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02232, allocations: 0 / 0.6402 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.0227, allocations: 0.6188 MB / 0.6408 GB, free: 4.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.02304, allocations: 89.97 kB / 0.6408 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/0.02793, allocations: 5.865 MB / 0.6466 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.02805, allocations: 181 kB / 0.6467 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.0282, allocations: 99.17 kB / 0.6468 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.02831, allocations: 120.5 kB / 0.647 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.02831, allocations: 0 / 0.647 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.05096, allocations: 11.15 MB / 0.6578 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/6.8, allocations: 0 / 0.6578 GB, free: 3.09 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 & /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: 9.540894509293139] Failed to read output from testmodel.py, exit status != 0: 6.887403723783791 6.896728254 6.888048577 Calling exit ...