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.0008716/0.0008716, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 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.001086/0.001086, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9165/0.9165, allocations: 177.2 MB / 203.6 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.7276/0.7276, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") [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.0009506/0.0009506, allocations: 71.89 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5084, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00202/0.5104, allocations: 1.236 MB / 0.7203 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.5123, allocations: 1.584 MB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.5124, allocations: 7.438 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.5126, allocations: 33.33 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.5127, allocations: 75.67 kB / 0.722 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.5139, allocations: 498.5 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.5147, allocations: 0.6486 MB / 0.7231 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.515, allocations: 116.4 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.5154, allocations: 381.1 kB / 0.7236 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.5157, allocations: 215.2 kB / 0.7238 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-05/0.5158, allocations: 64.88 kB / 0.7238 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.516, allocations: 81.81 kB / 0.7239 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.5161, allocations: 84.88 kB / 0.724 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.5163, allocations: 213.5 kB / 0.7242 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.5171, allocations: 0.7856 MB / 0.725 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5171, allocations: 1.188 kB / 0.725 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5171, allocations: 0 / 0.725 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.5171, allocations: 4 kB / 0.725 GB, free: 20.19 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001175/0.5183, allocations: 0.8762 MB / 0.7258 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.825e-05/0.5184, allocations: 8.531 kB / 0.7258 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.5185, allocations: 54.95 kB / 0.7259 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009584/0.5195, allocations: 407.7 kB / 0.7263 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.5195, allocations: 28.53 kB / 0.7263 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.5196, allocations: 43.47 kB / 0.7263 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.5201, allocations: 458.9 kB / 0.7268 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5201, allocations: 7.938 kB / 0.7268 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.5202, allocations: 8.312 kB / 0.7268 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.5202, allocations: 6.609 kB / 0.7268 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.5206, allocations: 382.6 kB / 0.7272 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.522, allocations: 0.7305 MB / 0.7279 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.5226, allocations: 482.5 kB / 0.7283 GB, free: 18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.5231, allocations: 397.8 kB / 0.7287 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.5231, allocations: 9.422 kB / 0.7287 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006084/0.5237, allocations: 455.5 kB / 0.7292 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 6.592e-06/0.5237, allocations: 0 / 0.7292 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001381/0.5251, allocations: 1.105 MB / 0.7302 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.5251, allocations: 197.9 kB / 0.7304 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.5254, allocations: 287.3 kB / 0.7307 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.5255, allocations: 40.3 kB / 0.7307 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.5256, allocations: 166.5 kB / 0.7309 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.5257, allocations: 142.8 kB / 0.731 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.5259, allocations: 134.1 kB / 0.7312 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.526, allocations: 347.2 kB / 0.7315 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.5265, allocations: 0.5264 MB / 0.732 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.527, allocations: 0.6065 MB / 0.7326 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007529/0.5277, allocations: 0.9151 MB / 0.7335 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.5277, allocations: 0.7969 kB / 0.7335 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001166/0.5289, allocations: 1.268 MB / 0.7347 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-05/0.529, allocations: 262.5 kB / 0.735 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.529, allocations: 2.594 kB / 0.735 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.529, allocations: 4.797 kB / 0.735 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.5292, allocations: 71.2 kB / 0.7351 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.5292, allocations: 4.203 kB / 0.7351 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.5297, allocations: 147.3 kB / 0.7352 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.5298, allocations: 69.81 kB / 0.7353 GB, free: 13.05 MB / 0.6355 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.0002105/0.53, allocations: 311.3 kB / 0.7356 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.53, allocations: 42.03 kB / 0.7356 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.812e-05/0.5301, allocations: 38.09 kB / 0.7356 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5301, allocations: 2.156 kB / 0.7356 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5301, allocations: 1.75 kB / 0.7356 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.5302, allocations: 42.88 kB / 0.7357 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.5302, allocations: 13.34 kB / 0.7357 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.5303, allocations: 25.62 kB / 0.7357 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.5304, allocations: 40.5 kB / 0.7358 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009032/0.5313, allocations: 1.137 MB / 0.7369 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009227/0.5322, allocations: 0.9668 MB / 0.7378 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003996/0.5326, allocations: 363 kB / 0.7382 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001903/0.5328, allocations: 187.6 kB / 0.7383 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of Backend: time 1.102e-06/0.5328, allocations: 0 / 0.7383 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.534, allocations: 1.199 MB / 0.7395 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of SimCode: time 0.001053/0.5351, allocations: 1.268 MB / 0.7407 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of Templates: time 0.0135/0.5486, allocations: 7.652 MB / 0.7482 GB, free: 7.633 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.422092061024159] Failed to read output from testmodel.py, exit status != 0: 0.5548677172046155 0.567690322 0.047747744 Calling exit ...