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.0007523/0.0007523, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007692/0.0007692, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8368/0.8368, allocations: 177.1 MB / 203.5 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.6808/0.6808, allocations: 154.6 MB / 414.5 MB, free: 0.8086 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.909e-05, allocations: 8.562 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001531/0.00155, allocations: 1.224 MB / 0.6205 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.003012, allocations: 1.591 MB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.003102, allocations: 4 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.003214, allocations: 39.53 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.003309, allocations: 75.38 kB / 0.6222 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.004077, allocations: 0.4937 MB / 0.6227 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.00453, allocations: 0.6597 MB / 0.6233 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.004737, allocations: 109.3 kB / 0.6234 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.005014, allocations: 371.4 kB / 0.6238 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.005196, allocations: 191.5 kB / 0.624 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.005255, allocations: 64 kB / 0.624 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.768e-05/0.005342, allocations: 76 kB / 0.6241 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.005407, allocations: 83.67 kB / 0.6242 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.005543, allocations: 195.5 kB / 0.6244 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004924/0.006035, allocations: 0.7712 MB / 0.6251 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.006037, allocations: 0 / 0.6251 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.92e-07/0.006038, allocations: 4 kB / 0.6251 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.006043, allocations: 0 / 0.6251 GB, free: 7.234 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.0008371/0.00688, allocations: 0.8633 MB / 0.626 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.006912, allocations: 8.031 kB / 0.626 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/0.006994, allocations: 56.66 kB / 0.626 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.007671, allocations: 396.7 kB / 0.6264 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.007698, allocations: 24.88 kB / 0.6264 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.00775, allocations: 44.36 kB / 0.6265 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.008171, allocations: 461 kB / 0.6269 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.008181, allocations: 192 / 0.6269 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.008201, allocations: 12.38 kB / 0.6269 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.00821, allocations: 16.11 kB / 0.6269 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.008601, allocations: 382.3 kB / 0.6273 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009293/0.00953, allocations: 0.7361 MB / 0.628 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.009954, allocations: 487.6 kB / 0.6285 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.01027, allocations: 389.3 kB / 0.6289 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.01028, allocations: 4 kB / 0.6289 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.01066, allocations: 459.5 kB / 0.6293 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.01066, allocations: 0 / 0.6293 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.0009504/0.01161, allocations: 1.099 MB / 0.6304 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.01168, allocations: 191.9 kB / 0.6306 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.01187, allocations: 292.4 kB / 0.6308 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.01191, allocations: 41.7 kB / 0.6309 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.01201, allocations: 168.9 kB / 0.631 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.689e-05/0.01207, allocations: 134.9 kB / 0.6312 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.01221, allocations: 134.1 kB / 0.6313 GB, free: 444 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.0123, allocations: 350.8 kB / 0.6316 GB, free: 84 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.01272, allocations: 0.5236 MB / 0.6321 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.0133, allocations: 0.6104 MB / 0.6327 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.01396, allocations: 0.9136 MB / 0.6336 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01396, allocations: 0 / 0.6336 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009907/0.01495, allocations: 1.265 MB / 0.6349 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/0.01504, allocations: 263.2 kB / 0.6351 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01504, allocations: 0 / 0.6351 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01505, allocations: 4 kB / 0.6351 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.0152, allocations: 76.17 kB / 0.6352 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.01521, allocations: 4 kB / 0.6352 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.01554, allocations: 151.5 kB / 0.6353 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.01561, allocations: 75.8 kB / 0.6354 GB, free: 11.77 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.0001651/0.01577, allocations: 310.8 kB / 0.6357 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.0158, allocations: 39.77 kB / 0.6357 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.01585, allocations: 47.36 kB / 0.6358 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01585, allocations: 4 kB / 0.6358 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01586, allocations: 0 / 0.6358 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01586, allocations: 0 / 0.6358 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.01684, allocations: 1.214 MB / 0.637 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01684, allocations: 0 / 0.637 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.01696, allocations: 67.89 kB / 0.637 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01696, allocations: 4 kB / 0.637 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.01698, allocations: 11.98 kB / 0.6371 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01698, allocations: 4 kB / 0.6371 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01699, allocations: 0 / 0.6371 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.01763, allocations: 0.9035 MB / 0.6379 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.01766, allocations: 35.64 kB / 0.638 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.01768, allocations: 16 kB / 0.638 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.01779, allocations: 23.97 kB / 0.638 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.01785, allocations: 39.92 kB / 0.6381 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.01789, allocations: 47.94 kB / 0.6381 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001135/0.01801, allocations: 187.1 kB / 0.6383 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.01801, allocations: 4 kB / 0.6383 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002579/0.01826, allocations: 111.9 kB / 0.6384 GB, free: 8.504 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.0001193/0.01838, allocations: 124.1 kB / 0.6385 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.01947, allocations: 1.434 MB / 0.6399 GB, free: 6.742 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01948, allocations: 4.188 kB / 0.6399 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.01984, allocations: 0.6262 MB / 0.6405 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.02016, allocations: 96.3 kB / 0.6406 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.021, allocations: 0.9586 MB / 0.6416 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.02111, allocations: 188.3 kB / 0.6417 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.02116, allocations: 36.5 kB / 0.6418 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.02116, allocations: 0 / 0.6418 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of Templates: time 0.004905/0.02607, allocations: 5.702 MB / 0.6473 GB, free: 15.01 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.088265917263925] Failed to read output from testmodel.py, exit status != 0: 0.030656001530587673 0.038317015 0.030573056 Calling exit ...