Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.00131/0.00131, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001405/0.001405, allocations: 171.3 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.452/1.452, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.211/1.211, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 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 178] 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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.859e-05, allocations: 6.609 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002091/0.00212, allocations: 0.9456 MB / 0.6195 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.004188, allocations: 1.357 MB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.004253, allocations: 3.938 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.004366, allocations: 19.75 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.004475, allocations: 47.64 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007852/0.00526, allocations: 288.4 kB / 0.6212 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.005738, allocations: 387.2 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.005893, allocations: 41.78 kB / 0.6216 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.006183, allocations: 211.7 kB / 0.6218 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.006394, allocations: 111.7 kB / 0.6219 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.006468, allocations: 32 kB / 0.6219 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.006596, allocations: 51.92 kB / 0.622 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.006689, allocations: 59.81 kB / 0.622 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.006843, allocations: 99.75 kB / 0.6221 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.007373, allocations: 450.7 kB / 0.6225 GB, free: 500 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007376, allocations: 0 / 0.6225 GB, free: 500 kB / 0.5294 GB Notification: Performance of FrontEnd: time 8.72e-07/0.007377, allocations: 0 / 0.6225 GB, free: 500 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.007382, allocations: 0 / 0.6225 GB, free: 500 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001076/0.008458, allocations: 0.5472 MB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.008497, allocations: 8.031 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.008897, allocations: 76.69 kB / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000961/0.009858, allocations: 308.8 kB / 0.6235 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.009888, allocations: 12.38 kB / 0.6235 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.009938, allocations: 20.38 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.01049, allocations: 216.1 kB / 0.6237 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01051, allocations: 4.125 kB / 0.6237 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.01053, allocations: 4.375 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01054, allocations: 16.11 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.01107, allocations: 139.8 kB / 0.6239 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.01225, allocations: 0.7897 MB / 0.6246 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.01262, allocations: 145 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.0129, allocations: 80.3 kB / 0.6248 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.01292, allocations: 4 kB / 0.6248 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/0.01339, allocations: 171.4 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.01339, allocations: 3.938 kB / 0.625 GB, free: 13.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0009245/0.01431, allocations: 253.7 kB / 0.6253 GB, free: 13.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.01442, allocations: 166.2 kB / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.01466, allocations: 225.8 kB / 0.6256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.0147, allocations: 29.7 kB / 0.6257 GB, free: 13.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.01485, allocations: 156.4 kB / 0.6258 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.01489, allocations: 35.72 kB / 0.6258 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.01501, allocations: 49.69 kB / 0.6259 GB, free: 12.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.01517, allocations: 334.8 kB / 0.6262 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.01555, allocations: 163.3 kB / 0.6264 GB, free: 12.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.01602, allocations: 296 kB / 0.6266 GB, free: 11.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/0.01665, allocations: 270.9 kB / 0.6269 GB, free: 11.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01665, allocations: 0 / 0.6269 GB, free: 11.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009653/0.01762, allocations: 444.1 kB / 0.6273 GB, free: 11.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.01769, allocations: 63.41 kB / 0.6274 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01769, allocations: 4 kB / 0.6274 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.01771, allocations: 0 / 0.6274 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.01788, allocations: 27.97 kB / 0.6274 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.01789, allocations: 4 kB / 0.6274 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.01831, allocations: 75.95 kB / 0.6275 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.01835, allocations: 19.92 kB / 0.6275 GB, free: 10.96 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001677/0.01852, allocations: 148.5 kB / 0.6277 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.01855, allocations: 27.8 kB / 0.6277 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.01861, allocations: 25.33 kB / 0.6277 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01861, allocations: 8 kB / 0.6277 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.01862, allocations: 0 / 0.6277 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01863, allocations: 0 / 0.6277 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.01884, allocations: 185.2 kB / 0.6279 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01884, allocations: 0 / 0.6279 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.01898, allocations: 27.91 kB / 0.6279 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01899, allocations: 4 kB / 0.6279 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.019, allocations: 3.938 kB / 0.6279 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.019, allocations: 7.938 kB / 0.6279 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01901, allocations: 0 / 0.6279 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.0196, allocations: 251.6 kB / 0.6282 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.01963, allocations: 12.38 kB / 0.6282 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.01966, allocations: 11.94 kB / 0.6282 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.01979, allocations: 19.97 kB / 0.6282 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/0.01986, allocations: 19.97 kB / 0.6282 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01988, allocations: 4 kB / 0.6282 GB, free: 10.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001612/0.02004, allocations: 165.2 kB / 0.6284 GB, free: 9.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02004, allocations: 0 / 0.6284 GB, free: 9.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002919/0.02033, allocations: 51.89 kB / 0.6284 GB, free: 9.934 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001719/0.0205, allocations: 99.19 kB / 0.6285 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008261/0.02133, allocations: 389.9 kB / 0.6289 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.02133, allocations: 0 / 0.6289 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.02161, allocations: 80.31 kB / 0.629 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.02199, allocations: 48.47 kB / 0.629 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.02277, allocations: 382.1 kB / 0.6294 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.02291, allocations: 132.8 kB / 0.6295 GB, free: 8.723 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.02302, allocations: 33.62 kB / 0.6296 GB, free: 8.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.02307, allocations: 24.5 kB / 0.6296 GB, free: 8.668 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.02307, allocations: 0 / 0.6296 GB, free: 8.668 MB / 0.545 GB Notification: Performance of Templates: time 0.007816/0.03088, allocations: 3.313 MB / 0.6328 GB, free: 5.453 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.846407599747181] Failed to read output from testmodel.py, exit status != 0: 0.03908533602952957 0.053167984 0.042804926 Calling exit ...